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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.