Forum Discussion
Absence streak
- 2 years ago
Hi RudyL
Please refer tao attached sample file with the proposed solution - 2 years ago
Hi RudyL
You are right the ABSSTREAK calculated column. However I could not generate the other problem. Looks like the engine treats the blank as a zero anyway. I have a added a COALESCE statement as an additional layer to confirm the result.
tamerj1 can I add an extra request to the solution above. The result now is a list that calculates what I need per dept / employee / date.
But suppose I want a more general clustered or stacked bar chart that shows per dept the total number of absence streaks that lasted less than 3 days and the total number of absence streaks that lasted 3 days or more.
I noticed changing this context had some strange effects on your calculations.