Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi,
I have a little problem with my RANKX.
Two tables are involved: Costumor and Order
I have a measure to calculate the total amount of the orders for each costumor:
HI, @Wiene24
Just try this formula:
Omzetplaats 2 = RANKX(ALL('dba Relatie'),[OMZET] )
or
Omzetplaats 3 = RANKX(ALLSELECTED('dba Relatie'),[OMZET] )
Result:
For your formula, if you just drag [DebiteurNummer] into visual, it will work too.
Best Regards,
Lin
It's getting closer, but not working completely yet!
I'm using this formula now:
Hi @Wiene24 ,
I am curious to know if the Ranks which shows equals have the same Debit number. this could be the reason it is causing you the equal ranks.
Also try the solution provided by Lin @v-lili6-msft , looking at her results , looks like thats what you may be looking for.
Thanks,
Tejaswi
hi, @Wiene24
If you want the rank to change if you change my slicers, please use ALLSELECTED instead of ALL.
don't use Omzetplaats = RANKX(ALL('dba Relatie');[Omzet];;DESC)
If you still have problem, please share a simple sample pbix file.
Best Regards,
Lin
@v-lili6-msft @Anonymous ALLSELECTED gave me the same result as ALL
All the debtornumbers are unique so that can't be the problem either.
How do I add a PBIX file? I don't see the paperclip sign to add it.
hi, @Wiene24
You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
Hi @Wiene24 ,
Try this mesaure:
Omzetplaats =
RANKX(
ALL('dba Relatie'[DebiteurNummer]),
[OMZET],
,ASC
)
Thanks,
Tejaswi
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 41 | |
| 31 | |
| 18 | |
| 18 | |
| 15 |