Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys,
I've got the following table (see screenshot below) and what I need to do is create a measure and when I'll drag it onto my table, it will display "A & D" next to customer A50000030.
A & D are nothing but products and the measures A,B,C and D are just calculating the number of times a person purchased each of the products (being calculated from a Sales table).
For some of you this will be very simple. Even if you share a link from where I might learn to do it myself will be very, very helpful!
Cheers,
Kashif
Solved! Go to Solution.
Hi @Anonymous ,
We can try to use the following measure to meet your requirement:
Product =
CONCATENATEX ( DISTINCT ( 'Sales'[Product] ), [Product], "&" )
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best regards,
Hi @Anonymous ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Hello,
If you are looking to change the Id to "A & D". Then you can easily change the label from the Fields section.
You can change the label by just double-clicking on the field and change the value.
If you liked my solution, please give it a thumbs up. And if I answered your question, please mark my post as a solution.
Thank you!
Hi,
That's not what I'm looking for, maybe I wasn't clear in my request.
I need to create a measure that will display whatever products the customer bought. So, when I drag this measure onto my table, for the very first donor (A50000030) it will display "A & D" since they bought those two items once each.
Hope this makes sense.
Let me know if I can make my query any better.
Hi @Anonymous ,
We can try to use the following measure to meet your requirement:
Product =
CONCATENATEX ( DISTINCT ( 'Sales'[Product] ), [Product], "&" )
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best regards,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 135 | |
| 102 | |
| 67 | |
| 65 | |
| 56 |