Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I hope somebody can help as this is becoming a bit of a showstopper. I have attached sample data for information.
Objective
Calculate the Bradford factor from a single source of event dates:
The Bradford factor is calculated using the Bradford Formula S2 x D = B
Example:
Calculation example:
The Problem..
The Bradford Factor calculates instances of sickness as well as duration to produce a score. I have attached sample data and need urgent support in resolving the following:
Number of Instances
The period of sickness is not stored as ‘Start Date’ and ‘End Date’ only as a run of dates by Event Type, ‘EventDate’ which makes it tricky to calculate number of instances.
Number of days
The number of days is a little easier but should exclude i) non-working days (weekends) ii) Bank holidays iii) Annual leave
Many thanks,
Natalie
Thank you so much Gysbert this is brilliant!
I was able to include weekday and tweak so that if sickness is taken before and after the weekend, it is still part of the same instance.
See attached.
The 2 in the formula is actually SQUARED (copy/paste incident)
The Bradford factor is calculated using the Bradford Formula S2 x D = B
See attached qvw.
Thank you so much Gysbert this is brilliant!
I was able to include weekday and tweak so that if sickness is taken before and after the weekend, it is still part of the same instance.
See attached.