The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
Solved! Go to Solution.
Why was this accepted as a solution when it doesn't answer the question?
User | Count |
---|---|
16 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
13 | |
13 | |
8 | |
8 |