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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.