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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
TomSinAA
Helper IV
Helper IV

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors