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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Matrix calculated subtotals

Hi,

I need to make a matrix like this one below. In the database I have only the value (like Rev1,Cost2,Dep1,Tax...), while I need to calculate the other (Revenues, Cost, Ebit Earning ..) How can I accomplish with task?

dripet84_0-1622506480068.png

Thanks

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

You can turn on row and column subtotals in Visual Format settings .

Ailsa-msft_0-1622688463469.png

Ailsa-msft_1-1622688463470.png

You can also sum the value by per column level and per row level in Subtotals, if your data has a hierarchical structure .

Ailsa-msft_2-1622688463470.png

Ailsa-msft_3-1622688463471.png

If you want to create measure to calculate subtotals ,you can refer to the sample that I searched in forums .

https://community.powerbi.com/t5/Desktop/Calculate-MAX-for-subtotals/m-p/1754821

 

Best Regards

Community Support Team _ Ailsa Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , isinscope can allow you shift calculation.

But are these measures or row values?

 

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

This is the database :

dripet84_0-1622740447440.png

And i need to create a matrix-like the first one

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors