Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I have a list of names and their data. I would like to add a column to show which person is in which grouping. I would like to group by 50%, 40% and 10% if that's posisble. I have tried with PERCENTILE.EXC but I am not getting the expected results. How would I accomplish this? Or would it need to be a measure instead of a calculated column?
| Name | Data | Percentile |
| John Smith | | 0.259309605 | | 25% |
| Mary Smith | | 0.332877138 | | 25% |
| Mark Smith | | 0.899507702 | | 50% |
| Jerry Smith | | 0.805348293 | | 50% |
| Danny Smith | | 0.267092547 | | 50% |
| Marg Smith | | 0.272978056 | | 50% |
| Able Smith | | 0.392131121 | | 10% |
| Mike Smith | | 0.534344624 | | 10% |
| Brert Smith | | 0.874071811 | | 25% |
| Hanny Smith | | 0.872285147 | | 50% |
| Mick Smith | | 0.508295626 | | 10% |
Solved! Go to Solution.
Hi @chillpill please try this
If you want it as a calculated column, same like @chillpill solution, you can use this:
Percentile_Group_col =
VAR CurrentValue = Table3[Data]
VAR P10 = PERCENTILEX.INC( Table3 , Table3[Data], 0.90)
VAR P50 = PERCENTILEX.INC( Table3 , Table3[Data], 0.50)
RETURN
SWITCH(
TRUE(),
CurrentValue >= P10, "10%",
CurrentValue >= P50, "40%",
"50%"
)
output:
Hi @chillpill please try this
Is this a calculated column or applied as a measure?
measure
Wonderful, thank you! If I wanted to have the measure dynamically update based on a slicer/filter - how would that be possible? I removed the ALL() function from your measure but that didn't change anything.
replace ALL with ALLSELECTED
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |