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
Hello Community,
I have a very simple dataset showing a dealer's customer satisfaction score %. Once the data is imported into PowerBI, how can I create a new column that will auto-populate "yes" if the dealer's score is in the bottom 10% otherwise "no"?? Thanks in advance!!
| Dealer | Customer Satisfaction |
| Dealer 1 | 50.6% |
| Dealer 2 | 72.6% |
| Dealer 3 | 84.9% |
| Dealer 4 | 74.4% |
| Dealer 5 | 50.8% |
| Dealer 6 | 94.5% |
| Dealer 7 | 84.9% |
| Dealer 8 | 77.6% |
| Dealer 9 | 94.8% |
| Dealer 10 | 92.7% |
| Dealer 11 | 64.5% |
| Dealer 12 | 43.8% |
| Dealer 13 | 33.8% |
| Dealer 14 | 26.7% |
| Dealer 15 | 43.9% |
| Dealer 16 | 48.5% |
| Dealer 17 | 23.8% |
| Dealer 18 | 86.4% |
| Dealer 19 | 94.2% |
| Dealer 20 | 98.1% |
Solved! Go to Solution.
Hi @Anonymous
Here is the formula, change the rate as you wish
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hi,
How would you calculate Top/Bottom on this dataset? Please explain and show the expected result.
@Anonymous , you might want to try following formulae in calculated columns
Bottom 10% =
VAR __n = COUNTROWS ( 'Customer Satisfaction Score' ) * .1
RETURN
IF (
COUNTROWS (
FILTER (
'Customer Satisfaction Score',
'Customer Satisfaction Score'[Customer Satisfaction]
< EARLIER ( 'Customer Satisfaction Score'[Customer Satisfaction] )
)
) < __n,
"Yes",
"No"
)
or
Bottom 10% Rankx =
VAR __n = COUNTROWS ( 'Customer Satisfaction Score' ) * .1
VAR __rank =
RANKX (
'Customer Satisfaction Score',
'Customer Satisfaction Score'[Customer Satisfaction],
,
ASC
)
RETURN
IF ( __rank <= __n, "Yes", "No" )
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi @Anonymous
Here is the formula, change the rate as you wish
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
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 |