Forum Discussion
Totals in Matrix
I am trying to get the totals correct for the Expected Learner column in the matrix below
The source table has a row for each learner and Expected Learners has the same value for all learners in a group. So in the above matrix, the Actual Learners column is a count of the learners. The Expected learners column is displaying the Max(expected learners) since this value is the same for all learners in a group. The correct Total for the Expected learners should be 5.
Hi TomSinAA.,
Take a look at this video: https://www.youtube.com/watch?v=yw0QHu9V4UQ
I think it could help you to fix your totals.- Anonymous2 years ago
Hi TomSinAA ,
_AAndrade Thanks for your concern about this case!
And TomSinAA , it seems that the Expected Learners is a measure, right?
If it is, this is my sample DAX:Expected Learners = MAX('Table'[Expected])
And please try to add this DAX:Measure = SUMX(VALUES('Table'[Region]), [Expected Learners])The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- _AAndradeResident Rockstar
Hi TomSinAA.,
Take a look at this video: https://www.youtube.com/watch?v=yw0QHu9V4UQ
I think it could help you to fix your totals. - AnonymousNot applicable
Hi TomSinAA ,
_AAndrade Thanks for your concern about this case!
And TomSinAA , it seems that the Expected Learners is a measure, right?
If it is, this is my sample DAX:Expected Learners = MAX('Table'[Expected])
And please try to add this DAX:Measure = SUMX(VALUES('Table'[Region]), [Expected Learners])The final output is as below:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.