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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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