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
vdog01
Frequent Visitor

Matrix Totals Incorrect if column is in a related table

Hi I'm having a problem getting the matrix totals to sum up correctly for a column that is in a related table.

 

I have the following 2 tables t1 and t2 that are related as follows

 

2018-05-15 08_50_56-Matrix Error - Power BI Desktop.png

 

The data are as follows

 

2018-05-15 08_53_24-Matrix Error - Power BI Desktop.png

 

When I create a Matrix with the following hierarchy (Level 1 from T1, FixedBy from T2 and Name from T1)

 

2018-05-14 17_10_20-Untitled - Power BI Desktop.png

 

The total sum of hours seems to be the total for the 3rd level (ie Name) instead of the 2nd level (ie FixedBy)

 

2018-05-14 17_12_29-Untitled - Power BI Desktop.png

 

 

Any suggestions on how to make this work?

 

 

 

 

 

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi

Does this meet your requirement?

 7.png

To get results above, I edit the cross filter direction of two tables as Both.

 8.jpg

 

 

Best Regards

Maggie

Hi Maggie,

 

Thanks for the reply, the matrix still shows some incorrect values unfortunately

 

2018-05-16 09_24_35-Matrix Totals Incorrect if column is in a related ... - Microsoft Power BI Commu.png2018-05-16 09_24_26-Matrix Totals Incorrect if column is in a related ... - Microsoft Power BI Commu.png

 

 

Hi

Based on my understanding, the field "Sum of Hours" in the matrix should show values as the column "Hours" in Sheet1, so the value for "AD" OF "Sum of Hours" is 10 instead of 5, Is my understanding right?

 

Best Regards

Maggie

Hi Maggie,

Yes, that's correct.  In the raw data for T1, AD only has 5 hours

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.