Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
15 | |
11 | |
7 |
User | Count |
---|---|
25 | |
24 | |
12 | |
12 | |
11 |