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



avatar user

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)