Question

Sick Absence Stats - per month calculation

  • 24 June 2021
  • 2 replies
  • 82 views

Userlevel 2
Badge +4

Can anyone advise how to get IFS report/SQL to calculate the number of days sick leave days in a specific month e.g. November, when the Absence may be registered over two months as one occurrence /absence ID.

 

Example:  

3 days in November  (last the days of month - M/T/W)

2 days in December (first day of Month T/F)

One occurrence of 5 working days

 

I would like to report 3 days in November and 2 days in December

 


This topic has been closed for comments

2 replies

Badge +4

If I understand correctly, you want split the absence by the months?  If this is the case you have the absence Type Divide function call MNTH  Divides an absence at the end of a month, with the parameters 1: 1 - on, 0 - off; 2: hourly division handling 1 - on, 0 - off.

Userlevel 2
Badge +4

Hi Les,

 

Thank you, I will look at this option with the team, who will probably understand this better than I do.  I will let you know how I get on.

 

Thanks

:wink:

Trudy