Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello, I have a table that I would like a formula/Suggestion that would assist me to achieve the grouping of customers based on similar interests.
Example:
User Products
1 | A
2 | A
1 | B
2 | C
3 | B
My desired output is
A | 1,2
B | 1,3
C | 2
Is there an easy way to achieve this as a calculated column without necessarily having to use M?
Thanks for any help:)
Solved! Go to Solution.
you can do that in PQ
= Table.Group(Source, {"Products"}, {{"User", each Text.Combine([User],","), type nullable text}})
Proud to be a Super User!
you can do that in PQ
= Table.Group(Source, {"Products"}, {{"User", each Text.Combine([User],","), type nullable text}})
Proud to be a Super User!
User | Count |
---|---|
120 | |
72 | |
69 | |
57 | |
50 |
User | Count |
---|---|
167 | |
82 | |
68 | |
65 | |
53 |