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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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/

 

 

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

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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