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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
rachaelwalker
Resolver III
Resolver III

Calculating utilization percentage based off 8 hour workday

I am trying to calculate the percentage of utilized hours based on a 8 hour work day. The formula I am using though is returning the same percentage for every record. Is there another formula I could use? If works fine for my billable hours which is a native fields in the table. 

 

Utilized Hours is a calculated column based on data from another table. 

Utilized Hours = 
  VAR __WorkTypeID = [TimeEntries.workType.id]
  VAR __UtilizationFlag = MAXX(FILTER('WorkTypes',[WorkTypes.id]=__WorkTypeID),[UtilizationFlag])
RETURN
  IF(__UtilizationFlag,'TimeEntries'[TimeEntries.actualHours],0)

 

Utilized % 

Utilized % = DIVIDE(sum(TimeEntries[Utilized Hours]),countrows(summarize('TimeEntries','TimeEntries'[TimeEntries.timeStart],'TimeEntries'[TimeEntries.member.id]))*8)

 

Results

rachaelwalker_0-1622561676217.png

 

 

1 ACCEPTED SOLUTION

I was able to get it to work properly using my original formula. I was using a calculated column when it should have been a measure. User error. =X

View solution in original post

4 REPLIES 4
krishna0
Helper II
Helper II

Hello,

 

You're using DIVIDE(SUM()) - this will give you the exact result you expected, one stable value for whole column.

If you need to have only utilized % per one row (as I assume, correct me if I am wrong) out of utilized hours and assuming the 8 hour day wouldn't it be easier to simply DIVIDE([Utilized Hours], 8)?

 

Best regards,

We want to see daily utilization for individual employees and for all employees per day based on everyone works an 8 hour day... My original formula is working for my billable hours so I dont understand why it is not working for my Utilized hours. They only difference between billable hours and utilized hours, is I can see billable hours in power query but not utilized (sorry still learning). I also added your formula 

rachaelwalker_0-1622653812404.png

 

I was able to get it to work properly using my original formula. I was using a calculated column when it should have been a measure. User error. =X

Another issue using my formula for Utilized Hours is the line graph is flat line. Billable reflects properly using same formula. Any ideas?

 

rachaelwalker_0-1622662788316.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.