Forum Discussion
setis
Post Partisan
6 years agoCalculating sick days
Dear experts, I am trying to calculate the number of sick days per month. The challenge is that there are instances where an employee has 2 lines per day (due to the shift distribution) lik...
Tahreem24
Super User
6 years agosetis ,
You can simply create a Measure like Below:
SickDay = CALCULATE(DISTINCTCOUNT(File[Timesheet]),File[Timesheet]="Illness")
It will give you 1 as result. For your reference I have replicated your data and problem at my side and got the 1 result for SickDay.
Don't forget to hit THUMBS UP and mark it as a solution if it helps you!