Forum Discussion
android1
9 years agoPost Patron
Measure doesn't add up
Hi, I have this measure -> GP = - 1800 + SUM(vw_PivotVisitsInvoiced[Income Generated]) Calc Column -> Income Generated = vw_PivotVisitsInvoiced[Visits_NoHrs] * 6.25 Why is my total below ...
- 9 years ago
Your GP is a measure. At the grand total, it will just sum all data together first, then minus 1800. If you want your expression be evaluated on each row, you should use SUMX().
GP =SUMX(vw_PivotVisitsInvoiced,vw_PivotVisitsInvoiced[Income Generated]-1800)
See sample below:
Regards,