Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217117

Conditional Path function

$
0
0

 

Hello

 

Imagine the following table in PowerBI view. This data comes from 2 related tables (employee and matchprofiles, 1:N)

 

Employee      MatchProfileID      Shortdescription  -          Othertext            Startdate

Employee A   1                                 Hello                                 Bonjour               2016-01-01

Employee A   2                                 Something                        Something2        2016-02-01

Employee A   3                                 Yess..                                  No                      2016-12-10

Employee A   4                                 Brr.                                     Brr22                   2016-12-30

 

I’m looking for a merge function for shortdescription & Othertext  of multiple rows with a startdate the upcoming 30 days. The result in a table should be something like this is a PowerBI table view:

 

Hello,

 

Imagine the following table in PowerBI view. This data comes from 2 related tables (employee and matchprofiles, 1:N)

 

Employee      MatchProfileID      Shortdescription  -          Othertext            Startdate

Employee A   1                             Hello                               Bonjour                2016-01-01

Employee A   2                             Something                      Something2        2016-02-01

Employee A   3                             Yess..                                No                      2016-12-10

Employee A   4                             Brr.                                  Brr22                  2016-12-30

Employee is related to the other table (1:N)

I’m looking for a merge function for shortdescription & Othertext  (multiple rows) with a startdate the upcoming 30 days. The result in a table should be something like this is a PowerBI table view:

 

Employee           Mergedescription&Othertext   

Employee A       Yess&No, Brr.Brr22                                        -> merges in one field.

 

I tried something with “PATH”, but got an error about not containing values because the fields I want to show not are the table primary en secondary keys.

 

Employee A       Yess&No, Brr.Brr22                                        -> merges in one field.

 

I tried something with “PATCH”, but got an error about not containing values because the fields I want to show not are the table primary en secondary keys.

 

First: Is this possible in a medium sized dataset? Any ideas to achieve this?  

 

 


Viewing all articles
Browse latest Browse all 217117

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>