Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |