Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I have tried many solutions posted on this forum but with no success :(( I hope someone can help me with this case:
I have a data set which looks likes this:
The clientnr contains unique numbers and the category level 1 and 2 are not unique and contain blank cells. I want to make a ranking based on the number of clients in category level 2 and make a table which looks like this:
I hope someone can post the right dax formula to solve this.
Thanks!!
Kind regards
Tiemen
Solved! Go to Solution.
hi @Anonymous
Put in a matrix the columns of your table in this way:
Then create a measure to Rank this:
Ranking = RANKX ( ALLEXCEPT ( Table1, Table1[category level 1] ), CALCULATE ( SUM ( Table1[clientnr] ) ), , DESC )
hi @Anonymous
Put in a matrix the columns of your table in this way:
Then create a measure to Rank this:
Ranking = RANKX ( ALLEXCEPT ( Table1, Table1[category level 1] ), CALCULATE ( SUM ( Table1[clientnr] ) ), , DESC )
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
116 | |
108 | |
108 | |
93 | |
70 |
User | Count |
---|---|
173 | |
135 | |
131 | |
96 | |
94 |