Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
I have created a matrix as below.
I'm using the below measure to get the values for selected dates.
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)
Hi AmiraBedh,
I tried that measure but it also gives the 0.00 as value for all the dates.
Can you please provide some of your dataset ?