Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi team,
I would like to calculate employee's utilization per month with the below data.
| Employee Name | Month | Work Date | WorkingDaysPerMonth | Utilization Per Emp |
| Emp 1 | Sep 2021 | 1st Sep | 22 | 9.09% |
| Emp 1 | Sep 2021 | 3rd Sep | 22 | 9.09% |
| Emp 2 | Sep 2021 | 5th Sep | 22 | 13.63% |
| Emp 2 | Sep 2021 | 7th Sep | 22 | 13.63% |
| Emp 2 | Sep 2021 | 9th Sep | 22 | 13.63% |
| Emp 3 | Sep 2021 | 15th Sep | 22 | 4.54% |
I need help to create below 2 measures:
Solved! Go to Solution.
Try to create measure like below:
Utilization = AVERAGEX(VALUES(Shifts[Emp Name]), DIVIDE([Total Working Days],SUM('Date'[Working Days Per Month])))
Hi,
You may download my PBI file from here.
Hope this helps.
@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)
Hi @Greg_Deckler,
It is not giving me accurate results.
I have got the below data and I am using Date table.
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
Monthly Avg utilization = (19.04+9.52+4.76)/3 = 11.10%
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.