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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Issue working with RankX

Hello guys, I know this is just another question like many many here and I have tried many answers but RANKX is not working for me right now. 

 

Also tried : 

Airport Rank = RANKX (ALL(StatsByAirPassengers), [Totalpassengers])
Airport Rank = RANKX (ALLSELECTED(StatsByAirPassengers), [Totalpassengers])

Capture.JPG

I got 4 years of data for Totalpassengers by airport name. 

I am practicing to get rank for airport by #of totalPassengers but it starts from rank 16 and then inscreasing strangely.

 

your help is appreciated. 

 
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

That was really strange, i removed all Values from table and put it back and RANX calculation worked fine. 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

That was really strange, i removed all Values from table and put it back and RANX calculation worked fine. 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.