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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Users online (1,590)