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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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