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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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