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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Catman
Frequent Visitor

Create defined subtotal in a matrix

Hi,

I would like create a defined subtotal for my Matrix visuals, but when I create any new measure, this can only be placed in the 'Values' section. 

Below is an example of what I need. I want to show A, B and C in the Matrix table and the total, additionally, I want to show another total including the values in D but not displaying the row with D.

 

AccountYTDPY YTDComment
A1020display
B2015display
C5040display
Total excl D8075display
D1010hide
Total all9085display

 

Thanks!

1 ACCEPTED SOLUTION
MathiasAndersen
New Member

Hi Catman,

I believe that is a common challenge.
I believe you have two options.
Option 1: Use one of the following custom visual, where you can add the subtotal row in the custom visual itself, as a new calculation.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200000642?tab=overview

https://appsource.microsoft.com/en-in/product/power-bi-visuals/mscrm.d365_business_performance_plann...

Option 2: Create a skeleton for the rows in Power BI by entering the following rows in a new table.

MathiasAndersen_0-1740645519630.png

You can then use this table to create a new measure that checks this context. 

Personally i prefer the first option. 

Feel free to reach out if you have any further questions.

Best Regards 
Mathias Andersen
BI Consultant at TRIMIT
@: maa@trimit.com

 



View solution in original post

1 REPLY 1
MathiasAndersen
New Member

Hi Catman,

I believe that is a common challenge.
I believe you have two options.
Option 1: Use one of the following custom visual, where you can add the subtotal row in the custom visual itself, as a new calculation.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200000642?tab=overview

https://appsource.microsoft.com/en-in/product/power-bi-visuals/mscrm.d365_business_performance_plann...

Option 2: Create a skeleton for the rows in Power BI by entering the following rows in a new table.

MathiasAndersen_0-1740645519630.png

You can then use this table to create a new measure that checks this context. 

Personally i prefer the first option. 

Feel free to reach out if you have any further questions.

Best Regards 
Mathias Andersen
BI Consultant at TRIMIT
@: maa@trimit.com

 



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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