Forum Discussion
Conditional Measure Is Not Totaling Correctly
- 2 years ago
you can try, assuming you have the values in different tables. But it is as TomMartens says, without the data model we cannot give an accurate answer.
SUMX(FILTER(TableHour,TableHour[date] >= 201901 && TableHour[date] <= 201901),TableHour[hour])+SUMX(FILTER(TableHourF,TableHourF[date] > 201901),TableHourF[hour])
Hey danielpaduck ,
it's tough to explain the behavior of the measure because you do not provide any information about the underlying data model and also do not provide the statement for the measure [Period (msr)], as this measure is controlling the condition.
Without explaining the business scenario the condition looks a little weird.
Then the Total, if the measure [Period (msr)] is somehow dependent on the column used on rows, namely Period, then you have to be aware that this column does not contribute to the filter context for the total line.
Hopefully, this provides some ideas of how to check the result for the Total line.
Regards,
Tom