Here’s one way to do this using three branched measures:
Total Hours = SUM( 'Hours Worked'[Hours Worked] )
Total Hrs Employee by Week =
CALCULATE( [Total Hours],
VALUES( Employees[Name] ),
VALUES( Dates[Week Number] )
)
Total Hrs Employee by Week < 40 =
IF( [Total Hrs Employee by Week] < 40,
[Total Hrs Employee by Week],
BLANK()
)
Full solution file posted below. I hope this is helpful.
- Brian