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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.