Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 ?
User | Count |
---|---|
120 | |
69 | |
69 | |
57 | |
50 |
User | Count |
---|---|
167 | |
82 | |
68 | |
65 | |
53 |