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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
ankitkalsara
Helper I
Helper I

How to calculate utilization per employee per month

Hi team,

 

I would like to calculate employee's utilization per month with the below data.

Employee NameMonthWork DateWorkingDaysPerMonthUtilization Per Emp
Emp 1Sep 20211st Sep229.09%
Emp 1Sep 20213rd Sep229.09%
Emp 2Sep 20215th Sep2213.63%
Emp 2Sep 20217th Sep2213.63%
Emp 2Sep 20219th Sep2213.63%
Emp 3Sep 202115th Sep224.54%

 

I need help to create below 2 measures:

  • Utilization per Employee: Each employee works for different number of days and the utilization per employee = number of working days for each employee/Working Days Per Month. (e.g. Emp 1 worked for 2 days - 2/22 = 9.09%, emp 2 worked for 3 days - 3/22 = 13.63%)
  • Avg Utilization per month: ( 9.09% + 13.63% + 4.54% ) / 3 = 9.08%

 

 

1 ACCEPTED SOLUTION

Try to create measure like below:

Utilization = AVERAGEX(VALUES(Shifts[Emp Name]), DIVIDE([Total Working Days],SUM('Date'[Working Days Per Month])))

Vlianlmsft_0-1630478469209.png

 

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Community Champion
Community Champion

@ankitkalsara See if the Utilization recipe from my book, DAX Cookbook helps. It is recipe 1 in Chapter 8 I believe: DAXCookbook/Ch8 at master · gdeckler/DAXCookbook (github.com)

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler,

 

It is not giving me accurate results.

I have got the below data and I am using Date table.

Data.png

I need to determine overall utilization per employee and by month.

From the above table, I need to determine unique shift date for each employee.

e.g. Emp1 has worked total of 4 days (need to count only unique days - a day can have multiple tasks assigned to employee)

Then from the date table, I need to count total number of working days for the given month.

i.e. for Jan - working days = 21

Utilization per employee should be

  • Emp1 - 4days/21 = 19.04%
  • Emp2 - 2days/21 = 9.52%
  • Emp3 - 1day/21 = 4.76%

Monthly Avg utilization = (19.04+9.52+4.76)/3 = 11.10%

 

Hi @Greg_Deckler ,

 

Attached is the test pbix file.

Try to create measure like below:

Utilization = AVERAGEX(VALUES(Shifts[Emp Name]), DIVIDE([Total Working Days],SUM('Date'[Working Days Per Month])))

Vlianlmsft_0-1630478469209.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors