Forum Discussion

SparkDataGuru's avatar
SparkDataGuru
Frequent Visitor
3 years ago
Solved

Incorrect Sum on Matrix Table - Need Top Summary Line to Sum Instead.

Currently been running into an issue with this Matrix table below.

 

We have a store and it's subdepartments. 

The formula to 'Recalculated New Leads' is taken by adding the Raw Leads + Partial Unknown Leads (based on the ratio of Raw new to Used leads). All the components for the formula can be found on column 2 to 5. 

 

It seems each row of this table is correct when taken into isolation for the calculations. However, we're having trouble getting the the top bold line to sum correctly based on the sub-departments. How should we go about in DAX to get the Store Level row to sum rather than do the formula utlized in the sub-department lines?

 

Thanks for your help!

 

  • Hi,

    Does this measure work?

    Measure1 = SUMX(VALUES(Data[Sub-departments]),[Recalculated new leads])

4 Replies