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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors