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
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
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