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

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

Reply
ITManuel
Responsive Resident
Responsive Resident

SUM of measure not matching in Matrix

Hi there,

 

I have working hours informations in two different tables which are connected to each other. The greater values are the correct ones, I made an IF DAX command to take out the greater sum values of the 2 tables and visulize it in a Matrix. 

HOURS1= SUM(RX_Export_All[DURATION])*24   "*24 because of the format of the values in table 1, converting it in hours)

HOURS2= HOURS2 = SUM(Intelmec[DURATION])

HOURS=  if(SUM(RX_Export_All[DURATION])*24>SUM(Intelmec[DURATION]);SUM(RX_Export_All[DURATION])*24;SUM(Intelmec[DURATION]))

 

Matrix.png

The measure for HOURS is extracting correctly the data, however the sum of that measure showed in the Matrix is not taking into consideration the sum of the single values.

 

The sum should be 9.935,25 instead 9.466,75.

 

Thanks in advance

1 REPLY 1
Anonymous
Not applicable

If the calculation is correct on the project level, then you have to iterate through visible projects and sum up their values.

SUMX(
Projects,
<your measure here>
)

If the calculation should be performed on a different level than "project", then you have to iterate this very level.

Hope this helps.

Best
D

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.