Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi all,
Here is an example table that i'm trying to write a measure for. My goal is to output a concatenated string of participants for each unique ID.
ID | Participant |
001 | John |
001 | Terry |
001 | Albert |
002 | Susan |
002 | Roger |
003 | Sally |
003 | Tom |
003 | Chewbaklava |
Participants Conc = CALCULATE(CONCATENATEX(table, <expression>, "; ")
I'm struggling with the expression piece.
My visual will have columns: ID & [Participants Conc]:
ID | Participants Conc |
001 | John; Terry; Albert |
002 | Susan; Roger |
003 | Sally; Tom; Chewbaklava |
Thanks for any suggestions or advice
Solved! Go to Solution.
Hi, @Chewbaklava
Please try formula like
Participants = CONCATENATEX(FILTER('Table','Table'[ID]=MAX('Table'[ID])),'Table'[Participant],"; ")
Best Regards,
Community Support Team _ Eason
Hi, @Chewbaklava
Please try formula like
Participants = CONCATENATEX(FILTER('Table','Table'[ID]=MAX('Table'[ID])),'Table'[Participant],"; ")
Best Regards,
Community Support Team _ Eason
Keep it simple.
Check out the example here
https://learn.microsoft.com/en-us/dax/concatenatex-function-dax
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |