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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AaronToth
Resolver I
Resolver I

Is there a way to subtotal/total column values using alternating columns

We have a matrix that has 2 columns (Amount and Quanity) and the matrix is broken up by Year.  So the matrix would look like this

 

Amount/Quantity - Amount/Quantity - Amount/Quantity (with headers above 2005, 2006 and 2007)

Question:  Is it possible to subtotal/total to the right for just one column (i.e. Amount).  Right now if you turn the sub-total/total on, it will add all values across the grid.  Can we separate these?

 

This is what we would like to have

AaronToth_0-1662740052653.png

 

 

Thanks,
Aaron

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@AaronToth There is a way but it is not exactly pretty. You can shrink the unwanted columns or you can do this:

https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@AaronToth There is a way but it is not exactly pretty. You can shrink the unwanted columns or you can do this:

https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks @Greg_Deckler 

Aaron Toth

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.