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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
MichaelJSpence
New Member

Dealing with ties in RANK

So I'm trying to add a couple of calculated columns with the Rank function in DAX but I'm having trouble getting it to work properly and skip after ties. I want to do other calculations based on the results, so it needs to be a column, rather than a measure.

 

Below is the formula and output.

 

RANK(SKIP,,ORDERBY('Challenge'[Person A Score], desc),LAST,,)
 
MichaelJSpence_0-1692359498408.png

 

The order is correct, but the problem I have are ties. After ties I want the number to skip, so in the example above the attributes currently ranked 5 would be ranked 8. The below is what I'd want the above output to actually look like. Any help would be greatly appreciated!

 

1

2

3

4

4

4

4

8

8

8

8

8

13

13

15

15

17

18

1 ACCEPTED SOLUTION
nandukrishnavs
Community Champion
Community Champion

@MichaelJSpence  Try this

 

Column =
RANKX ( 'Challenge', 'Challenge'[Person A Score],, ASC, SKIP )

Regards,
Nandu Krishna

View solution in original post

2 REPLIES 2
nandukrishnavs
Community Champion
Community Champion

@MichaelJSpence  Try this

 

Column =
RANKX ( 'Challenge', 'Challenge'[Person A Score],, ASC, SKIP )

Regards,
Nandu Krishna

That worked, thankyou so much!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors