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
jeesan1234
Frequent Visitor

Creating a measure to calculate but grand total not giving me the correct value

I have the following matrix that shows month, month week, no. of working days and I am calculating expected claims by doing (no. of working days)*(Sum of expected claims per day). The first way (Expected Claims $000) is by creating a measure which gave me the correct values, however, the grand total is wrong, instead of summing the three months subtotals, it's calculating the total using the sum of both fields. 

The second way the last row is by creating calculated column, which is giving me the correct grandtotal but not the correct values for each month week. Could someone please help/advice on how to get the values how they appear the first way and grand total how it appears using the second way?

jeesan1234_0-1734630108910.png

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

Measure = SUMX(VALUES(Calendar[Month week]),[Expected claims $000])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

1 REPLY 1
Ashish_Mathur
Super User
Super User

Hi,

Try this measure

Measure = SUMX(VALUES(Calendar[Month week]),[Expected claims $000])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.