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
Anonymous
Not applicable

Power Matrix - getting %'s showing correctly in totals

Hi I have a matrix that shows the number of hours each month that a user is available to work and the number that they are actually working based on jobs allocated to them 

 

The matrix has a calculated column (Util) based on Working Hours / Available Hours which all works correctly - however the totals whilst summing the working & available hours , doesnt then calculate the total util of total working hours / total available hours - I only have the option of havingb the sum of the utils or the average of the utils - which is not the correct answer - I attach the table of data & the matrix - plus the same visual in an excel piviot table which calculates the total util correctly

BI Table

akumulator_0-1720617050113.png

Power BI Matrix

akumulator_1-1720617173985.png

 

Pivot table 

akumulator_3-1720617248437.png

 

A Power BI newbie , so any help gratefully appeciated !

Thanks

 

Paul

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Anonymous 

You should do the calcualtions with measures, rather than a calculated column.  Add 2 measures to sum up the available and working hours.

 

Available Hours = SUM ( 'YourTable'[available] )
Working Hours = SUM ( 'YourTable'[working] )

 

Then a measure to use those first two and calcualte the Utilization

 

Utilization = DIVIDE ( [Working Hours], [Available Hours], 0 )

jdbuchanan71_0-1720618029427.png

 

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@Anonymous 

You should do the calcualtions with measures, rather than a calculated column.  Add 2 measures to sum up the available and working hours.

 

Available Hours = SUM ( 'YourTable'[available] )
Working Hours = SUM ( 'YourTable'[working] )

 

Then a measure to use those first two and calcualte the Utilization

 

Utilization = DIVIDE ( [Working Hours], [Available Hours], 0 )

jdbuchanan71_0-1720618029427.png

 

 

Anonymous
Not applicable

Thanks - that works !

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.