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

Trying to do some Scoring using Percentiles

Struggling with something that seemed to be simple before DAX... beginner here trying to convert a
column of percentages (fill rates) for our supplier base into percentiles for scoring purposes.

Supplier FillRate% Percentile
A               16.5%        ?
B                99.5%       ?
C                 85.8%      ?
D                68.5%       ?

I've spent a day now researching the DAX Percentile functions and can't seem to get that Percentile column
populated. Any help would be so appreciated!
Thanks

1 ACCEPTED SOLUTION
OwenAuger
Super User
Super User

@WizardWalksBy

 

Sounds like you're wanting the equivalent of Excel's PERCENTRANK function.

 

Have a look at this thread for some sample DAX you could adapt:

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

 

In my (@OwenAuger) post there is some code that should replicate Excel's function including handling ties, which was quite long-winded to be honest.

 

@v-sihou-msft's post has a simpler formula that works fine without ties.

 

Cheers,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

2 REPLIES 2
OwenAuger
Super User
Super User

@WizardWalksBy

 

Sounds like you're wanting the equivalent of Excel's PERCENTRANK function.

 

Have a look at this thread for some sample DAX you could adapt:

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

 

In my (@OwenAuger) post there is some code that should replicate Excel's function including handling ties, which was quite long-winded to be honest.

 

@v-sihou-msft's post has a simpler formula that works fine without ties.

 

Cheers,

Owen


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Exactly what I was looking for, thanks a million!!

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors