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
datadelta
Helper III
Helper III

RANX does not allow for a filter of greater than or equal to

I have a RANKX command that works for ranking sales by store.  However, when I set the parameters to equal or greater to 35, the results change the rank to 1 - 34 rather than showing the associated stores as ranked 35 and higher.

 

Not sure why it's doing this.  It has worked previously so I don't know why it's not working now.

datadelta_2-1712149913186.png

 

 

1 ACCEPTED SOLUTION

I solved this. I had blank rows and that was throwing the calc off.

 

thanks for you response!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @datadelta 

 

After my testing, I have not encountered a situation like yours.

 

Here is my testing:

 

My sample:

vxuxinyimsft_0-1712205183474.png

 

I created two measure as follow.

 

sum = SUM('Table'[sales])
Measure = RANKX(ALL('Table'), [sum], , ASC, Dense)

 

 

Result:

vxuxinyimsft_1-1712205334819.png

 

If my testing that is very different from yours, please do not hesitate to mention it and I will modify it. If possible, could you tell me what you did? Did you perform any other operations before the error occurred? Please remove any sensitive data in advance. Thank you!

 

Best Regards,
Yulia Xu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I solved this. I had blank rows and that was throwing the calc off.

 

thanks for you response!

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.

Top Solution Authors
Top Kudoed Authors