Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Power BI Matrix
Pivot table
A Power BI newbie , so any help gratefully appeciated !
Thanks
Paul
Solved! Go to Solution.
@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 )
@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 )
Thanks - that works !
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |