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.
Hi,
I have a table and one of the column have many values delimited by comma as below:
week | ID | Name |
W401 | 002 | abcde,abc,abcd,abcdef |
W401 | 001 | abcde,fgh |
W402 | 001 | ijk |
W402 | 002 | ijk,lmn,opeqrs |
I want to split the name by comma, also keep the detail of them.
Length of name might be different, and the name is too much to use exhaustive way.
The output I expected as below:
week | ID | Name |
W401 | 002 | abcde |
W401 | 002 | abc |
W401 | 002 | abcd |
W401 | 002 | abcdef |
W401 | 001 | abcde |
W401 | 001 | fgh |
W402 | 001 | ijk |
W402 | 002 | ijk |
W402 | 002 | lmn |
W402 | 002 | lmn,opeqrs |
I can use DAX only. (can't use power query)
Any answer will be helpful!
Solved! Go to Solution.
@Anonymous , Create a new calculated table by going into Modelling
Proud to be a Super User! |
|
@Anonymous , Create a new calculated table by going into Modelling
Proud to be a Super User! |
|
This is exactly what I need!! Thank you for your reply!!
User | Count |
---|---|
58 | |
56 | |
55 | |
50 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |