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 dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
There is a video that shows how to use Concatenatex to join multiple items that are being aggregated in a pivot table. (https://www.youtube.com/watch?v=J6yxJ2uELxQ&t=470s).
However, it seems to be specific to the OneBigTable approach to modelling.
Wondering if there is a way to do with a star schema. Here is a graphic of what I mean:
Hi @slice_dice
Would a measure like this help?
Concatenatex =
CONCATENATEX(
'Sales',
RELATED( 'Person'[Person] ),
", "
)
Let me know if you have any questions.
Hi, @slice_dice
Try below measure
measure =
Var a = Values('Table'[Person])
return
Concatenatex(a,'Table'[Person]," ,")
Thanks @Dangar332
I tried that and the Concat is combining all values ignoring row context. It should show "Tom,Mark" for South and "Jerry" for West in instead it shows all. Here are some screen shots
Hi, @slice_dice
I have created measure using data you provided
The above measure is work perfect
You can download .PBIX file
Best Regards,
Dangar
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Dangar332,
Many thanks for your help on this.
I noticed the difference between the two models is your PBIX file has a 1 to 1 relationship between Dim_Person and Facts while my has a 1 to many.
See
Here is the data model from the PBIX file
Here is the data mode from my power pivot model
I see that your got the desired result but wondering if that result is possible modelled the way I have done with a 1 to many relationship from dim_person to facts?
Hi, @slice_dice
Measure =
var a = CALCULATETABLE(VALUES(Dim_person[Person]),CROSSFILTER(Facts[FK_person],Dim_person[Key],Both))
RETURN
CONCATENATEX(a,Dim_person[Person],",")
Download below file
Best Regards,
Dangar
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |