Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LD1
Helper III
Helper III

Double number in a top application with RANKX Formula

Hi everyone, 

 

I would like to know something and of course to solve it.

I mean, when I do this RANKX formula, at the beginning all is working. 

But, when I just want to get the top 30, i have some double figures in the rank formula. 

I don't know why. 

 

Here it is an exemple : 

 

1. Without the top 30 application :

Top 30 rang formule N°1.JPG

 

 

2. With the top 30 application : 

 

Top 30 rang formule N°1 faux.JPG

 

Can you help me please to solve it? 

Thank you in advance, 

LD

5 REPLIES 5
FreemanZ
Super User
Super User

hi @LD1 

it seems you have ties and RANKX has its 5th argument for such case. 

try like

RANKX(ALL(), [], , , DENSE)

https://learn.microsoft.com/en-us/dax/rankx-function-dax

 

https://dax.guide/rankx/

 

 

Hi @FreemanZ 

 

I tried with your explication but it still doesn't work when I apply the top 30 in the field RANG:

Double value is still here ... 

 

LD1_3-1671706109363.png

 

 

I really want to understand why it doesn't work. The problem can be provided about the formula 'Groupe ou marque annonceur'? Here this is the formula :

 

LD1_1-1671705998980.png

 

Thank in advance for your help, 

 

LD

how is this measure defined?

FreemanZ_0-1671711799781.png

 

It's turn over value the sum of 3 values in KPI Table

 

One comes from the dataset, 

+ on other comes from Excel source

+ the last one too

 

Can it be the format ? (Decimal, Devise, etc.)

 

Thank you so much, 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.