The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
How do I convert my table into a list based on selected values?
This is what I have
Identification Number | Category | All Other columns |
A-123 | Apple | |
A-123 | Mango | |
A-123 | Banana | |
B-456 | Pineapple | |
B-456 | Watermelon |
What I need
Identification Number | Category |
A-123 | Apple, Mango, Banana |
B-456 | Pineapple, Watermelon |
Solved! Go to Solution.
If this is in DAX, you can use the CONCATENATEX function to combine; something like:
CategoryCombined = CONCATENATEX(CALCULATETABLE('Table', ALLEXCEPT('Table', 'Table'[Identification Number])), 'Table'[Category], ", ")
If this is in DAX, you can use the CONCATENATEX function to combine; something like:
CategoryCombined = CONCATENATEX(CALCULATETABLE('Table', ALLEXCEPT('Table', 'Table'[Identification Number])), 'Table'[Category], ", ")
thank you so much!