Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
How could I simply make a new column called 'Quintile' and assign each row a value 1-5 where the top 20% of rows are assigned 1 in 'Quintile', the next 20% are assigned 2, and so on? Assume that the values I am evaluating are sorted in descending order already, as so why I just need to slice the data apart at these cutoffs and access the row counts accordingly.
Solved! Go to Solution.
For anyone that comes across this problem I created new columns that calculated each quintile cutoff. Then I created a final quintile column and used this to assign quintile tags.
For anyone that comes across this problem I created new columns that calculated each quintile cutoff. Then I created a final quintile column and used this to assign quintile tags.
Hi @Anonymous
how many rows and columns do you have in that table?
It is going to depend for each time I update it, was hoping to get some help by using countrows / 5, then assigning quintiles in that fasion where number of rows and columns are just variables
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |