Forum Discussion
Anonymous
9 years agoNot applicable
Calculating Overtime
I've done some research within the forum to look for the same question but couldn't find it. Please let me know if I've missed it though... Anyways, I have these 2 tables, one with work hour each...
Phil_Seamark
Microsoft Employee
9 years agoAre you just after the amount over for each person for each week?
if so this might be close
Weekly Overtime =
VAR
Overtime = SUM('Hour'[Recorded Hour])
VAR
ReturnValue = if(Overtime<> blank(),CALCULATE(Overtime) - 40,Blank())
RETURN
ReturnValue