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! Request now

Reply
Anonymous
Not applicable

Calculating Employee Productivity

Dear community members,

 

Need your expert help in the following situation.

I have three tables: Hours, Employee, and Project.

 

The Hours table contains the hours details by each employee for a week:

virbpp_0-1628684239932.png

 

Each employee has a weekly base hours:

virbpp_2-1628686429714.png

Model:

virbpp_0-1628688113725.png

 

The objective is to caclulate the Utilization% for multiple dimensions (by employee, by department, etc.), and analyze the trend 

 

The formula for utilization% is as follows: DIVIDE([Productive Hours]/[Effective Base Hours])

 

Where Productive Hours = SUM('Employee Hours'[Hours]) excluding certain Tasks (Say Task 3, 19 & 44)

and Effective Base Hours = SUM(Employee [Base Hours]) excluding certain Tasks (Say Task 3, 19 & 44) 

 

In case of any mid-week joining/separation, the Base hours should be pro-rated accordingly.

 

Source File Link

Sample PBIX file

 

 

@Ashish_Mathur

@Fowmy 

@Greg_Deckler 

 Any support/guidance will be appreciated.

 

Thanks,

vir

1 REPLY 1
Tanushree_Kapse
Impactful Individual
Impactful Individual

Hi @Anonymous ,

use these measures:
 Productive Hours = CALCULATE(SUM('Employee Hours'[Hours]), FILTER(Table_name, Task <> "Task 3" ||  Task <> "Task 19" || Task <> "Task 44"))

 

Effective Base Hours =CALCULATE(SUM(Employee [Base Hours]), FILTER(Table_name, Task <> "Task 3" ||  Task <> "Task 19" || Task <> "Task 44"))

 

 

Utilization %= DIVIDE([Productive Hours],[Effective Base Hours])        .....format this to percentage.

 

 

I hope this helps!

 

Mark this as a solution if I answered your question. Kudos are always appreciated!

Thanks.

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.