The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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 )
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the July 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
109 | |
68 | |
46 | |
42 |
User | Count |
---|---|
188 | |
86 | |
77 | |
74 | |
60 |