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
Imran_Isshack
Frequent Visitor

PERCENTRANK FUNCTION - Equivalent in DAX

Hi Power Bi Friends,

I have inherited an MS Excel model and wanted to transition this to Power Pivot so that It becomes dynamic. 

This Excel model has the PERCENTRANK FUNCTION, which I can't seem to find in DAX. 

Here is my Ms Excel Fromula. How can I mirror this in DAX Language?

 

PERCENTRANK(IF(Defense_Partners[Position]=$B5,IF(Defense_Partners[Type]="Defendants",Defense_Partners[Rate])),E5)

I) The positions refer to Job tiles

ii) Rate are billing Rates per employee, used to bill clients

iii)Type is a category of employees

 

Is there a way to simulate this MS Excel formula in DAX?

Imran

 

1 REPLY 1
amitchandak
Super User
Super User

@Imran_Isshack , refer this

https://community.powerbi.com/t5/Desktop/PERCENTRANK-Inclusive/m-p/81208

 

or

https://stackoverflow.com/questions/59102487/dax-equivalent-of-excel-percentrank-inc-per-category

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.