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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How does Power BI calculate the totals? The sum does not add up in matrices

doingdata_0-1716918683557.png

The measures are really simple. Is there a more elegant way to get Power BI to correctly aggregate these numbers?

IC 2023 = CALCULATE(Employee[All Count],Employee[Management Level]="Individual Contributor",'Employee'[Year]=2023)
All Count
CALCULATE(DISTINCTCOUNT('Employee'[Person Number]), USERELATIONSHIP('Dimension'[Date],Employee[Current Hire Date]))
1 REPLY 1
Syk
Super User
Super User

I'd recommend giving this a watch: https://www.youtube.com/watch?v=6rgAkejrup8

 

Essentially the total's won't sum up all the employees for each month in your current measure because that would be saying that nearly 50k people worked for this company in 2023. When in reality, it's counting the number of people there each month and the year is giving you a count of everyone that worked there in 2023. If that doesn't make ANY sense, watch that video as he articulates it much clearer.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors