Forum Discussion
Calculate sick report frequency
Hi,
I believe I've written a calc that does what you're looking for:
Hi bhpage,
Thanks for your response.
If I understand correctly the formula compares the hourcodekey of the current rowcontext with the hourcodekey of the preceeding rowcontext. If the hourcodekey in the current rowcontext is 160 and the hourcodekey in the preceeding rowcontext is not 160 than that is the day the employee called in sick for the first time.
Unfortunately the formula doesn't work with my real-life version of the data. The only thing different is that there are multiple employees in the real table who all have time registration data on the same dates. The error message reads "A table of multiple values was supplied where a single value was expected".
Can you solve this problem as well?
Rg. Erwin
- Anonymous7 years agoNot applicable
Can you provide an example of a customer like this?