Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member

Segmentation scaling problem

   Hello, I am currently working on Power BI, and I have recently started using this software, so I am still learning. I have encountered a problem while working on my project. I have a column for the number of violations and another column for the violation description. My goal is to calculate the sum number of violations per violation description and display it in a donut chart. Additionally, I want to segment the chart by the agent's name, so that it shows the data specific to each agent instead of the overall data. However, despite my attempts, I have been unable to achieve the desired results. The values are not scaling properly when I choose an agent, and they appear too small. I would greatly appreciate any assistance you can provide in resolving this issue. Thank you. You can find below the screenshots illustrating the issue, both with and without the applied segmentation. Additionally, I have included a part of the SQL view that I used.




Super User
Super User

Donut chart?  Your final choice?  🙂


Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot).
Please show the expected outcome based on the sample data you provided.

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors