Forum Discussion
Paramjit
5 years agoHelper II
Custom Row total in Matrix
Hi Team, SivaMani amitchandak I have the data in below form. I need to customize the total for attribute C. C total should be total of A + total of B = 130 Could you please assit. ...
- 5 years ago
Hi, Paramjit ;
You could create a measure .
Measure = VAR _total=CALCULATE(SUM([Value]),ALLEXCEPT('Table','Table'[Attribute])) VAR _Cctotal=CALCULATE(SUM([Value]),FILTER(ALL('Table'),[Attribute] <"C")) RETURN IF(ISINSCOPE('Table'[MONTH]),SUM([Value]),IF(MAX([Attribute])="C",_Cctotal,_total))The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
5 years agoCommunity Support
Hi, Paramjit ;
You could create a measure .
Measure =
VAR _total=CALCULATE(SUM([Value]),ALLEXCEPT('Table','Table'[Attribute]))
VAR _Cctotal=CALCULATE(SUM([Value]),FILTER(ALL('Table'),[Attribute] <"C"))
RETURN IF(ISINSCOPE('Table'[MONTH]),SUM([Value]),IF(MAX([Attribute])="C",_Cctotal,_total))
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.