Forum Discussion

Ashish_Mathur's avatar
Ashish_Mathur
Super User
6 years ago
Solved

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 tota...
  • jdbuchanan71's avatar
    6 years ago

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