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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

dax formule for ranking

hello i need some help to get a ranking based on colum  of points 

i have a colum of points where i use the sum function on so i get a total of points per person now i want a ranking on that slike this

 

1. person 1  50

2. person 3  40

3. person 2  38

 

i also placed a screenshot of the data i the colum punten are the points that i use and i the colum name are the names of the person that need the ranking based on the columm punten

 

Krijgerss21_0-1686827303304.png

 

 

i hope someone can help 

4 REPLIES 4
lbendlin
Super User
Super User

You would use the standard RANKX function with a filter as appropriate (for each etappe for example).  What have you tried and where are you stuck?

Anonymous
Not applicable

i use this dax measure at the moment 

klassering medewerkers = RANKX(ALL(Tour_De_France_Poule[Naam]),CALCULATE(SUM(Tour_De_France_Poule[Punten] )))
 
i want the same as now but if people has the same points i want to get the rank by name so if person a has 75 points and person B i want person a on place 1 and person B on place 2
Anonymous
Not applicable

so the outcome is like this 

1.  person A    18 points

2. person B      18 points

3. person C      16 points

4. Person D      16 points 

 

so if the points are the same its on alfabet otherwise on highest points with the measure i now use it gives people the same rank if they have the same points this is the measure i use now what gives me the outcome with the same rank 

RANKX(ALL(Tour_De_France_Poule[Naam]),CALCULATE(SUM(Tour_De_France_Poule[Punten] )))

RANKX on multiple columns with DAX and Power BI - SQLBI

 

"Dynamic ranking on Rounded Sales and customer name"

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.