This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |