Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |