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.
Hi
I'm looking to create a ranking as a measure.
It looks like the following:
Solved! Go to Solution.
what if try to use ALL()?
DIVIDE (
RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ),
MAXX (ALL ( Corporate ), RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ))
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
Hi @rhl94
try MAXX function https://docs.microsoft.com/en-us/dax/maxx-function-dax , smth like
DIVIDE (
RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ),
MAXX (Corporate, RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ))
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
Unfortunately that does not seem to work:
The Rank column is the desired outcome.
what if try to use ALL()?
DIVIDE (
RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ),
MAXX (ALL ( Corporate ), RANKX ( ALL ( Corporate ), CALCULATE ( SUM ( Corporate[Amount] ) ), , ASC, DENSE ))
)
do not hesitate to give a kudo to useful posts and mark solutions as solution
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 |
---|---|
114 | |
100 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |