Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
TomSinAA
Helper III
Helper III

Totals in Matrix

I am trying to get the totals correct for the Expected Learner column in the matrix below

TomSinAA_0-1713892428152.png

 

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. 

 

 

2 ACCEPTED SOLUTIONS
_AAndrade
Super User
Super User

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.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




View solution in original post

Anonymous
Not 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])

vjunyantmsft_1-1713923215458.png
And please try to add this DAX:

Measure = SUMX(VALUES('Table'[Region]), [Expected Learners])

The final output is as below:

vjunyantmsft_0-1713923172624.png

 

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.

View solution in original post

2 REPLIES 2
Anonymous
Not 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])

vjunyantmsft_1-1713923215458.png
And please try to add this DAX:

Measure = SUMX(VALUES('Table'[Region]), [Expected Learners])

The final output is as below:

vjunyantmsft_0-1713923172624.png

 

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.

_AAndrade
Super User
Super User

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.





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors