Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am new to th PowerBI, and i have a requirement where in I want to show my output (names of products) in a single cell separated by a delimiter (comma, lets say).
For e.g. my input data set is :
Prod ID | Product | City of Manufacturing |
1 | Pen | Delhi |
2 | Pencil | Mumbai |
3 | Paper | Noida |
4 | Eraser | Delhi |
5 | Notebook | Mumbai |
6 | Ruler | Mumbai |
7 | Marker | Noida |
8 | Sharpner | Delhi |
9 | Pins | Noida |
10 | Pencil box | Noida |
And the Output I expect is a simple table in the follwoing fashion:
City of Manufacturing | Product |
Delhi | Eraser,Pen, Sharpener |
Mumbai | Notebook,Pencil,Ruler |
Noida | Marker, Paper, Pencil box, Pins |
Please help me with the appropriate DAX, or even M query would do.
Solved! Go to Solution.
Try this MEASURE
Measure = CONCATENATEX ( VALUES ( Table1[Product] ), [Product], ", " )
Using Dax.do - however facing this issue when executing this query. I'm not sure what the problem is that I get this error. It's a simple query too.
Is this a bug issue within the application?
Hi @abhiiimr15
Based on my test, Zubair_Muhammad's formula can help, if you have any question, please feel free to ask me.
Best Regards
Maggie
Try this MEASURE
Measure = CONCATENATEX ( VALUES ( Table1[Product] ), [Product], ", " )
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |