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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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