Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Pie chart not displaying correctly

Hello everyone,

My table is as follows:

ArianeL_0-1677757925915.png

 

however, when I create a pie chart with headcount and department, the headcount is more than the actual headcount for the month. 

For instance, for Janaury 2023, my headcount is 183 but when you add all the values of the different departments we are at 204 headcount; meaning I have 21 employees more. 

ArianeL_1-1677758079997.png

 

I suspect the problem to be those who changed department at some point of time. In my table above, employee 1189 changed department from 6 to 7 in March 2022. Would that mean he is appearing in both department 6 and 7? If yes, how can I resolve the problem please?

 

Having the same issue on Age, employment type,  category.. 

 

Thank you so much for your help

 

Ariane

 

 

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.