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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Ashish_Mathur
Super User
Super User

Incorrect subtotals

Hi,

I have an input and an output worksheet in this workbook with very simple SUM() and multiplication DAX measures.  In the output worksheet, the numbers in column P at the subtotal and grand total cells are wrong.  In the Remarks column (column Q), i have shown what the correct result should be (refer range Q57:Q72).

Could you kinldy help me in resolving this issue.

Thank you for your help.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

Hello @Ashish_Mathur 

The Measure for PC is calculating the sum of the columns involved then multipluying the reulsts.

=[Mechancial efficiency]*[Pc_per_hour]*[Production days]*[Production hours]

If you change the DAX expression to be a SUMX you will get the correct result.

=SUMX(Data,[Mechancial efficiency]*[Pc_per_hour]*[Production days]*[Production hours])

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

Hello @Ashish_Mathur 

The Measure for PC is calculating the sum of the columns involved then multipluying the reulsts.

=[Mechancial efficiency]*[Pc_per_hour]*[Production days]*[Production hours]

If you change the DAX expression to be a SUMX you will get the correct result.

=SUMX(Data,[Mechancial efficiency]*[Pc_per_hour]*[Production days]*[Production hours])

 

Thank you.


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

Helpful resources

Announcements
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