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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
cottrera
Post Prodigy
Post Prodigy

Matrix Total Missing

Hi

 

I have a matrix visual in power bi  that uses the following 3 DAX functions.

 

Daily hours (mins)= SUM('Daily Contracted Minutes'[Daily Minutes Contracted]) // measure fed by Parameter

 

Total Activity Time (mins) = SUM('Operative Activity'[Total Time])

 

Time not utilised (mins) = IF([Total Activity Time] > [Daily hours] , BLANK(),
IF([Total Activity Time] = 0, BLANK(),
[Daily hours] - [Total Activity Time]))

 

 

Here is an example of the Matrix. However the totals for  Time not utilised (mins) is blank. However I need to keep the existing IF statement in the  Time not utilised (mins) measure .

 10 October 2022
TeamOperative NameDaily hoursTotal Activity TimeTime not utilised (mins)
ElecEngineer A510411.598.5
Engineer B510472.437.6
Engineer C510522.8 
Engineer D510471.039.0
Engineer E510344.5165.5
Engineer F510470.839.2
Engineer G510324.7185.4
Total5103017.6?


thank you 
Richard

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @cottrera,

This seems like a common issue measure expressions calculate on the total level which includes multiple levels of aggregations.

For this scenario, you can take a look at the following link to use summarize function aggregate on the detail level records, and use the iterator function to apply the second level aggregated to summary previous results:

Measure Totals, The Final Word 
Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
cottrera
Post Prodigy
Post Prodigy

Thank you Xiaoxin Sheng

For the link to a great article. This solved my Matrix issue. Better make sure I vote to Improve Matrix totals 😃 

Anonymous
Not applicable

HI @cottrera,

This seems like a common issue measure expressions calculate on the total level which includes multiple levels of aggregations.

For this scenario, you can take a look at the following link to use summarize function aggregate on the detail level records, and use the iterator function to apply the second level aggregated to summary previous results:

Measure Totals, The Final Word 
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.