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

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

Reply
lc1
Helper III
Helper III

Calculate Over Time Weekly Average by different categories

Hello,

I have an Over Time report by pay period and I'd like to create a matrix that indicates:

- Total number of employees working OT

- Average number of employees working less than 5 OT hours per week

- Average number of employees working 5-10 OT hours per week

- Average number of employees working over 10 OT hours per week

 

 Thank you

1 REPLY 1
Anonymous
Not applicable

hello i would create the following measures 

 

- Total number of employees working OT

employees working OT = calculate(distinctcount(employee) ,filter(payperiodtable, OT Hours >= 0))

- Average number of employees working less than 5 OT hours per week

Average less then 5 OT hours = [employees working OT] / (calculate(distinctcount(employee) ,filter(payperiodtable, OT Hours <= 5))

- Average number of employees working 5-10 OT hours per week
Average btwn 5 - 10 OT hours = [employees working OT] / (calculate(distinctcount(employee) ,filter(payperiodtable, OT Hours > 5 && OT hours <=10 ))

- Average number of employees working over 10 OT hours per week

Average greater then 10 OT hours = [employees working OT] / (calculate(distinctcount(employee) ,filter(payperiodtable, OT Hours > 10))

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.