Forum Discussion
Customized Matrix & SUM function & Customized Subtotals
- 5 years ago
Hi Anonymous,
could you try this for A+C:
A+C = SUMX(FILTER(ALLSELECTED(Input), Input[Letter] = "A" || Input[Letter] = "C"), Input[Value])Did this answer your question? Mark my post as a solution!
Hi Anonymous,
in your "Values for Matrix"-Measure you are using the Column "Input[Letter ]", and try to select "A+C",
As you state above this table does not include "A+C", only the "Category"-Table does.
So i would suggest swapping out SELECTEDVALUE(Input[Letter ]) for SELECTEDVALUE(Category[Category]) in the Values for Matrix"-Measure
Hope this helps.
Best regards,
Markus
Did this answer your question? Mark my post as a solution!
- Anonymous5 years agoNot applicable
Thank you for your reply,
unfortunately it doesn't work 😞
- Markus_Re5 years agoResolver I
Hi Anonymous,
could you try this for A+C:
A+C = SUMX(FILTER(ALLSELECTED(Input), Input[Letter] = "A" || Input[Letter] = "C"), Input[Value])Did this answer your question? Mark my post as a solution!
- Anonymous5 years agoNot applicable
Markus_Re
It works great!Could you advice me how to approach next issue
I would like to have this kind of matrixwhere A+C is the sum of both A and C but considering the category One, Two, ....
Currently there are no other values so the results will be
A+C | 2 4 6 0