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

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

Reply
MFelix
Super User
Super User

Re: Failed to get correct total

Hi @New_be ,

 

Try to add the following measure:

 

Headcount total = SUMX(VALUES(Calendar[YearMonth]) , [Headcount])

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



3 REPLIES 3
Anonymous
Not applicable

Hi @New_be ,

 

I checked that the original post has been resolved, are there any new problem that are still not resolved?

 

Best regards,
Community Support Team_ Scott Chang

 

 

New_be
Helper V
Helper V

Hi @MFelix 
Thank you for your reply.
The code didn't work since in SUMX, the expression is just [headcount]. I try replace it with MIN[headcount], but it still didn't work..

Hi @New_be ,

 

This is a new measure that picks up the value of your previous measure it's not to replace the current measure you have.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.