Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi community,
I am trying to calculate the % of a grand total for a dimension column but with a slight twist. If a category's % of grand total is less than or equal to 10%, I'd like to bundle these categories into a group called "other" and the grand total of the "other" group should be the sum of their grand total %s.
I'd like the solution to be dynamic. For instance, I could select swap out different dimensions in a visual and this solution would work. Below is an example of what I'm trying to achieve. If anything is unclear, please shout. I'm open to any solution.
Example Data
Expected Output
Note, I've supplied two different tables in the solution. In PBI, I'd like just one table with the ability to pull the different dimensions into it.
Data used in problem
| Country | Favourite Colour | Flag |
| UK | Red | 1 |
| USA | Red | 1 |
| France | Red | 1 |
| UK | Blue | 1 |
| UK | Black | 1 |
| UK | White | 1 |
| Germany | Green | 1 |
| Germany | Green | 1 |
| Germany | Blue | 1 |
| Germany | Pink | 1 |
Thanks,
Ben
Solved! Go to Solution.
Hi @Data_BS
You need to Append a new row to the table with "Other" in both the country and the colour columns.
This is used to check which row we are on in the visual.
Field Parameters: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
Let you swap which column is in the visual.
Create a measure:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @Data_BS , hello ryan_mayu and SamWiseOwl, thank you for your prompt reply!
Is there any progress on this issue?
If you find any answer is helpful to you, please remember to accept it.
It will help others who meet the similar question in this forum.
Thank you for your understanding.
have you tried grouping and binning function?
Proud to be a Super User!
Hi @ryan_mayu, this is really interesting. I didn't know about this. I'll check this out when I have time (currently at work so I can't).
If this solves the problem, I'll let you know.
Thanks for the navigation!
Hi @Data_BS
You need to Append a new row to the table with "Other" in both the country and the colour columns.
This is used to check which row we are on in the visual.
Field Parameters: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters
Let you swap which column is in the visual.
Create a measure:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi @SamWiseOwl. I'm at work at the moment but I'll explore this as soon as I get time. Thanks for providing this, I'll keep you updated. Absolute legend.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |