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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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