Forum Discussion
Oomsen
7 years agoHelper III
Working hours until today
With the measure below i calculate the workable hours: Werkuren = IF('Medewerker uren'[Dag]=2;7,6;0)&IF('Medewerker uren'[Dag]=3;7,6;0)&IF('Medewerker uren'[Dag]=4;7,6;0)&IF('Medewerker uren'[Dag]=...
- 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()))
v-diye-msft
7 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
Oomsen
7 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()))