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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
aqsyed
Frequent Visitor

Rank

 

Employee Name,

Performance Score%,Total Volume of Work,Rank
A100%6002
B50%8004
C100%9001
D100%2003

I have only Table of Team List where employee name and Id is mentioned.

total volume of work is calculated with measure = SALES1+ SALES 2+ SALES 3

Performance Score with measure = Quality Score + Time Score +

Total Volume of Work Score. I Want to calculate rank as mentioned above on the basis of performance score. If the performance score is same then check the total volume of those employees who has done the highest volume of work give the rank.

1 ACCEPTED SOLUTION
DataVitalizer
Super User
Super User

Hi @aqsyed 

I create an 'Employee' table with the same data sample, then created a new column 'Rank' using the below DAX code

othy_bi_1-1690893623037.png

Rank=
RANKX(ALL(Employee),
RANKX(ALL(Employee),Employee[Performance Score%],,ASC,Dense) & "" & RANKX(ALL(Employee),Employee[Total Volume of Work],,ASC,Dense)
,,
DESC,Dense)

Did it work 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge

View solution in original post

1 REPLY 1
DataVitalizer
Super User
Super User

Hi @aqsyed 

I create an 'Employee' table with the same data sample, then created a new column 'Rank' using the below DAX code

othy_bi_1-1690893623037.png

Rank=
RANKX(ALL(Employee),
RANKX(ALL(Employee),Employee[Performance Score%],,ASC,Dense) & "" & RANKX(ALL(Employee),Employee[Total Volume of Work],,ASC,Dense)
,,
DESC,Dense)

Did it work 👍 A kudos would be appreciated ‌‌📢 Mark it as a solution to help spreading knowledge

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.