This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |