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.
I have a rank measure defined as
Hi @jspo ,
I created some data:
Here are the steps you can follow:
1. Enter power query through transform data and select add column --- index column --- from 1 to generate the index
2. Create measure.
amount_measure = MAX('Table'[amount])
Rank = RANKX(ALLSELECTED('Table'),CALCULATE([amount_measure]+MAX([Index])*0.001),,ASC,Dense)
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This did not solve our issue. This is basically a 2 tier ordering. really we need to fix the numbering to be correct so we can retain confidence in our dashboard.
Jspo
@jspo , Try with dense
m_Dealer Rank DESC =
RANKX(ALL('Register'[Name]),[m_Gross Margin %],,DESC,dense )
Refer to break ties
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
@jspo ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
This is the best i can do at the moment.
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 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |