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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

subtracting the Column totals in a matrix visual power bi

I have the following rows in my excel sheet

 

Image1.png

 

When I import the excel sheet to Power BI, I was able to use the matrix table to get the sub total portion of the above sheet by including the totals and subtotals on for the matrix visual. Below is my rendition of the excel sheet in Power Bi

 

Image2.png

 

My issue is I need to calculate the 'Gap' between the 'Sub-total' and the 'Available Resources' which I can easily calculate in excel but have no idea how to implement it in Power BI, If I include the 'Available Resources' row in Power BI, the totals are all wrong as it calculates all the rows combined totals to display. Any ideas or suggestions will help. Thanks

 

 

 

 

 

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

A complete example would be better. You may try to add a calculated table.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.