Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
ID | Sub ID | Sub Level |
1 | 1 | level 3 |
1 | 2 | level 2 |
2 | 3 | level 3 |
3 | 4 | level 3 |
3 | 5 | level 1 |
4 | 6 | level 3 |
5 | 7 | level 2 |
6 | 8 | level 2 |
Looking for DAX Expression to - create a comma separate column of "Sub Level" group by "ID"
For EX.
ID | Sub ID | Sub Level | New Column |
1 | 1 | level 3 | level 3, Level 2 |
1 | 2 | level 2 | level 3, Level 2 |
2 | 3 | level 3 | level 3 |
3 | 4 | level 3 | level 3, Level 1 |
3 | 5 | level 1 | level 3, Level 1 |
4 | 6 | level 3 | level 3 |
5 | 7 | level 2 | level 2 |
6 | 8 | level 2 | level 2 |
Thanks in Advance
Your column names are rather confusing. How are the tables connected?
I have updated the question.
Not sure what you are trying to achieve. Are you looking for a parent child hierarchy?
Here is the PATH output based on your sample data
Why is the Sub ID different from the Sub Level ?
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |