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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Create a Quintile Column (1,2,3,4,5) and assign the top 20% of rows to Q1, next 20% to Q2, ..

I am very new to excel and Power BI and have tried using the built in percentile.inc, exc functions with no success so far. 

 

This is my thought process:

I have a dataset with a 'Score' (%) column at hand. I sorted this column in descending order and then added another column 'Rank' to calculate the score's rank using the RANKX function. Now I want to create a 'Quintile' column which takes the top 20% of the highest scores and assigns the associated quintile row to 1, next 20% of scores to 2, ... bottom 20% of scores are assigned 5. Is there an easier way to assign these quintiles even when not in descending order, and if so can someone with knowledge on this provide an example of a function that would work for this? Thanks in advance. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , refer if these can help

https://blog.enterprisedna.co/implementing-80-20-logic-in-your-power-bi-analysis/
https://forum.enterprisedna.co/t/testing-the-pareto-principle-80-20-rule-in-power-bi-w-dax/459

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , refer if these can help

https://blog.enterprisedna.co/implementing-80-20-logic-in-your-power-bi-analysis/
https://forum.enterprisedna.co/t/testing-the-pareto-principle-80-20-rule-in-power-bi-w-dax/459

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
Anonymous
Not applicable

Why was this accepted as a solution when it doesn't answer the question?

Helpful resources

Announcements
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.