Forum Discussion
Malsha
2 years agoHelper I
matrix visual columns issue
Hi, I have created a matrix as below. I'm using the below measure to get the values for selected dates. Total Worked Hours = Var cal = CALCULATE( SUM('timesheet_data'[Hours Worked...
AmiraBedh
2 years agoSuper User
Can you try the following :
Total Worked Hours =
var cal =
CALCULATE(
SUM('timesheet_data'[Hours Worked]),
'timesheet_data'[Timesheet Job Role Name] IN {"Morning Cleaning", "Janitors", "Window Cleaner", "Duty & Morning", "Supervisor"},
'timesheet_data'[duration] <> "S",
'timesheet_data'[duration] <> "H"
)
return
IF(ISBLANK(cal), 0.00, cal)