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
xyzz
New Member

Adding specific subtotal rows in a matrix

Hi,

 

I would like to know how I can add two subtotal rows in a power BI matrix visual. The below mentioned is an example of the dataset that I am currently working with. 

 

xyzz_0-1729170088905.png

 

Now I want to show the following result. 

 

xyzz_1-1729170225832.png

 

EBITDA is the sum of the subtotal of Revenue and Operating Expenses, once that is calculated, Operating Income is the sum of EBITDA and Depreciation. 

 

can you guy guide me towards how to resolve this issue? 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @xyzz 

Thanks for MFelix's reply. You can add an extra column to flag which data needs to be aggregated at the row level, then add that column to the top of the matrix rows and un-aggregate the last level on the child rows.

vyaningymsft_0-1730189581053.pngvyaningymsft_1-1730189624646.pngvyaningymsft_2-1730189699370.png

Solved: Re: SUBTOTAL in Matrix Visual as Row - Microsoft Fabric Community

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @xyzz 

Thanks for MFelix's reply. You can add an extra column to flag which data needs to be aggregated at the row level, then add that column to the top of the matrix rows and un-aggregate the last level on the child rows.

vyaningymsft_0-1730189581053.pngvyaningymsft_1-1730189624646.pngvyaningymsft_2-1730189699370.png

Solved: Re: SUBTOTAL in Matrix Visual as Row - Microsoft Fabric Community

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

MFelix
Super User
Super User

Hi @xyzz ,

 

Check this video that shows how you can create finantial statments using this type of hierarchy

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.