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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
My pie chart shows the percentage of each job title based on count. I only want to show the top 5 though, and I want everything else to be show in something called "Other". I want this to be dynamic, meaning the top 5 could change if I uploaded new data.
Solved! Go to Solution.
AFAIK, it is not supported in a visual setting, but you can create a calculated column as a workaround.
category_ =
IF (
CONTAINS (
TOPN (
3,
SUMMARIZE ( 'table', 'table'[category], "cnt", COUNTA ( 'table'[category] ) ),
[cnt], DESC
),
'table'[category], 'table'[category]
),
'table'[category],
"other"
)
AFAIK, it is not supported in a visual setting, but you can create a calculated column as a workaround.
category_ =
IF (
CONTAINS (
TOPN (
3,
SUMMARIZE ( 'table', 'table'[category], "cnt", COUNTA ( 'table'[category] ) ),
[cnt], DESC
),
'table'[category], 'table'[category]
),
'table'[category],
"other"
)
It worked! Thanks!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |