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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Curious12964
Regular Visitor

help in matrix visualization

PowerBI visualization.png

I want help in matrix visualization. I want to have a similar structure in PowerBI. Each team has a budget. I have to add values present under the "Value" column and substract the result from "Total Budget" to get "Budget to be used". Please help me to get this result. 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Curious12964 
Since Power BI visualizations are built in a way that aggregates values, similar logic applies to pivot tables. To achieve a similar result, each row should have a unique identifier at the category level, which will also dictate the display order. A row number or a date can be used to ensure the data is presented chronologically. This way, it is possible to achieve a result that is almost identical to the desired one.

Ritaf1983_0-1726803482495.png

Dax measures :
Total Budget = if(ISINSCOPE('Table'[Row id]),",MAX('Table'[Budget]))
Spent = SUM('Table'[Values])
Budget to be used = if(ISINSCOPE('Table'[Row id]),", [Total Budget]-[Spent])
Pbix is attached

If my answer was helpful please give me a Kudos and accept as a Solution.



Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

2 REPLIES 2
Ritaf1983
Super User
Super User

Hi @Curious12964 
Since Power BI visualizations are built in a way that aggregates values, similar logic applies to pivot tables. To achieve a similar result, each row should have a unique identifier at the category level, which will also dictate the display order. A row number or a date can be used to ensure the data is presented chronologically. This way, it is possible to achieve a result that is almost identical to the desired one.

Ritaf1983_0-1726803482495.png

Dax measures :
Total Budget = if(ISINSCOPE('Table'[Row id]),",MAX('Table'[Budget]))
Spent = SUM('Table'[Values])
Budget to be used = if(ISINSCOPE('Table'[Row id]),", [Total Budget]-[Spent])
Pbix is attached

If my answer was helpful please give me a Kudos and accept as a Solution.



Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
dharmendars007
Memorable Member
Memorable Member

Hello @Curious12964 , 

 

I see the complexity in your visuals because if a row has blanks the corresponding numbers or values cannot be shown against that because there is no filter context present.

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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