Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 54 | |
| 47 | |
| 39 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 83 | |
| 70 | |
| 38 | |
| 28 | |
| 26 |