I am trying to create a measure that counts the number of occurrences where any employee worked in excess of 45 hours in any week. I've looked at other posted questions and can't seem to connect the dots to my specific question. The following matrix shows the total hours worked by employee by week:
- Employees and Hours (the rows and values in the matrix, respectively) reside in the same table called "Power BI Upload"
- Week Number (Columns in the matrix) reside in a separate table called "Date Table"
My desired total row would show:
- Week 30 has 2 total occurrences (50 and 48)
- Week 31 has 3 total occurrences (60, 54, 47)
- Week 32 has 3 total occurrences (48, 47, 47)
- Week 33 has 5 total occurrences (46, 47, 72, 64, 68)
- Week 34 has 5 total occurrences (48, 55, 56, 67, 62)
I hope I am being clear. Thank you very much for your help.


