Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.
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 ?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
76 | |
74 | |
69 | |
47 | |
41 |
User | Count |
---|---|
63 | |
42 | |
31 | |
30 | |
28 |