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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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