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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
dustinadam
Advocate I
Advocate I

Matrix SUM Problem

 

I have a matrix that breaks down data from two different tables and groups it in a logical format by Project and Cost Code then displays Estimates vs Actuals to date, Actuals are summing correctly in Totals, but Estimates, while they filter correctly and show the correct line-item data, will only show the grand total of all estimates for all cost codes on the project regardless of whats being filtered. I guess I had assumed that the matrix would "Total whats displayed" since it seems to have a correct undertanding in the data model and among the relationships defined.

 

Capture.PNG

 

All of the filtering and slicers work as expected, all the raw values are correct, the Total for estimates just won't display the data by whats been filtered or sliced, even while collapsing the data properly

Here's a view of the data model and relationships (JC_Transaction_Transaction contains actuals to date, JC _Master_Cost_Code contains the estimated values):

 

Capture2.PNG

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @dustinadam,

 

According to the view of the data model and relationships provided above, I find you have one Date table and two Fact tables(JC_Transaction_Transaction, JC _Master_Cost_Code), and the Date table only have a relationship with JC_Transaction_Transaction table, but JC_Transaction_Transaction and JC _Master_Cost_Code are related with Job and Cost_Code, without any Date columns. So JC _Master_Cost_Code table won't be filtered by the Date Slicer.

 

In this secnario, if you want both tables(JC_Transaction_Transaction, JC _Master_Cost_Code) can be sliced by all dimensions, you may need to combine these two tables together using Merge Queries in Query Editor. Here is a similar thread for your reference.

 

Regards

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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