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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
v-yaningy-msft
Community Support
Community Support

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
v-yaningy-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.