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.
I'm a newbie and need help for my table that contains customer purchases (TranId) from various channels (ChannelId).
Instead of having multiple records for the same customer transaction (TranId), I would like to have one record having a comma-delimited value listing of the channels (ChannelId) - either on the same or a new column - whichever is simpler to create.
For example below, Customers A and C should have just one record having a comma-delimited value listing of various channels (ChannelId).
Current
Customer | TranId | ChannelId |
A | 1 | 10 |
A | 1 | 11 |
B | 2 | 10 |
C | 3 | 11 |
C | 3 | 12 |
D | 4 | 13 |
D | 5 | 10 |
Result
Customer | TranId | ChannelId |
A | 1 | 10,11 |
B | 2 | 10 |
C | 3 | 11,12 |
D | 4 | 13 |
D | 5 | 10 |
I appreciate any help!
Solved! Go to Solution.
Hi @Anonymous ,
Concatenatex =
CALCULATE (
CONCATENATEX ( 'Table', 'Table'[ChannelId], ", " ),
ALLEXCEPT ( 'Table', 'Table'[TranId] )
)
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
Hi @Anonymous ,
Concatenatex =
CALCULATE (
CONCATENATEX ( 'Table', 'Table'[ChannelId], ", " ),
ALLEXCEPT ( 'Table', 'Table'[TranId] )
)
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel
Proud to be a Super User!
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 |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |