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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.