Forum Discussion
Working hours until today
- 7 years ago
It didn't solve the problem.
But with some try and error i found the solution:
I changed my measure to :Werkuren tot vandaag = CALCULATE(SUM('Medewerker uren'[Werkuren]);FILTER(Dimdate;Dimdate[Datum]<=TODAY()))
Hi Oomsen
Could you please specify the meaning of your formula? I can barely understand it. It’s preferred to share us your detailed data (upload your pbix to Onedrive and share links here) but kindly masking your confidential info.
We’d like to provide further support once we got it.
Best regards,
Dina Ye
Hi v-diye-msft
The measure is ment for counting available working hours and compare them with the actuals worked hours of employees.
I will translate it to english:
- v-diye-msft7 years agoCommunity Support
Hi Oomsen ,
FIf my understanding is correct, you'd like to compare the standard workhours with actual workhours. your standard workday is from Monday to Friday, with 7.6 hours per day.
I created a calenday table list from 7/1 -today, then add the calculated column to specify the weekday, finally add the measure to generate the total standard workhours: results shown as below, you can find the pbix here:
Best regards,
Dina Ye
- Oomsen7 years agoHelper III
It didn't solve the problem.
But with some try and error i found the solution:
I changed my measure to :Werkuren tot vandaag = CALCULATE(SUM('Medewerker uren'[Werkuren]);FILTER(Dimdate;Dimdate[Datum]<=TODAY()))