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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PowermyPowerBI
New Member

How to sum the aggregated values visible in Matrix visual

Hello,

 

I'm new to using DAX.  I have two tables that share a many to many relationship with cross filter direction of both. They are joined on a column called "Equipment"

I'm using a matrix table that has column data grouped/rolled up(Contract # (groups). I also have a measure that shows the correct values when you drill down(Miles). Table "TableAContract" has a grouped/rolled up "(Contract # (groups)". Table "TableBMiles" has the measure(Miles) as the "Value".   When I drill down I can see the sum of the rows visible in the matrix visual. The total shows the correct expected sum of the visible aggregated values.  

 

However if I drill back up to (Contract # (groups) the sum of the aggregated values visible in the matrix visual is not displaying those visible values in the column as a sum.  (My columns are grouped/bins of a date).

 

PowermyPowerBI_0-1681225702776.png

 

I would simply like the subtotals at the top level(s) to sum the visible values.  I've read that SUMX and SUMMARIZE can help with that but unsure how that works.

 

Please help

 

Thank you

1 REPLY 1
Greg_Deckler
Super User
Super User

@PowermyPowerBI First, please vote for this idea: https://ideas.powerbi.com/ideas/idea/?ideaid=082203f1-594f-4ba7-ac87-bb91096c742e

This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also: https://youtu.be/uXRriTN0cfY
And: https://youtu.be/n4TYhF2ARe8

 

Also see this: Matrix Measure Total Triple Threat Rock & Roll - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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