Hi,
I am having difficulty showing absence days in a graph. The amount of absence days is correct, however the distribution of these days doesn't work out the way I would have liked.
If you look at the example graph on my attachement, one person had a very long absence which lasted for 599 work days. (This figure is after holidays and weekends have been taken out).
The first day of absence happened in September 2006 and ran through until the end of December 2008. As you can see, my chart has accredited the entire length of the absence to that 1 month. Ideally I would have liked those days to have been distributed among the months inbetween the startdate and the enddate so that when these charts are created they aren't skewed by absence instances like this one.
My initial reponse was to count unusually long absences like this one as a "long term" and then filter them out from the equation via the query so they are not counted at all. However this still leaves me with the problem of much shorter absences that originate in one month and end in another.
eq. an absence of 10 days has 4 absence days in July and the remaining 6 absence days August, the 10 days are represented as having occurred in July.
I have no idea how to resolve this particular conundrum, whether an additional query needs to be created on the back of the monitoring table or if my current query needs a complete makeover.
Also please note that the filter that has been applied on "qryTemp" is the result of a form where the user sets criteria so they can focus the report on specific areas. These filters can be discounted if need be.
Any assistance would be greatly apprecitated.
Thanks.
Edit: Remembered to attach the file this time....
I am having difficulty showing absence days in a graph. The amount of absence days is correct, however the distribution of these days doesn't work out the way I would have liked.
If you look at the example graph on my attachement, one person had a very long absence which lasted for 599 work days. (This figure is after holidays and weekends have been taken out).
The first day of absence happened in September 2006 and ran through until the end of December 2008. As you can see, my chart has accredited the entire length of the absence to that 1 month. Ideally I would have liked those days to have been distributed among the months inbetween the startdate and the enddate so that when these charts are created they aren't skewed by absence instances like this one.
My initial reponse was to count unusually long absences like this one as a "long term" and then filter them out from the equation via the query so they are not counted at all. However this still leaves me with the problem of much shorter absences that originate in one month and end in another.
eq. an absence of 10 days has 4 absence days in July and the remaining 6 absence days August, the 10 days are represented as having occurred in July.
I have no idea how to resolve this particular conundrum, whether an additional query needs to be created on the back of the monitoring table or if my current query needs a complete makeover.
Also please note that the filter that has been applied on "qryTemp" is the result of a form where the user sets criteria so they can focus the report on specific areas. These filters can be discounted if need be.
Any assistance would be greatly apprecitated.
Thanks.
Edit: Remembered to attach the file this time....
Attachments
Last edited: