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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors