Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3353

HR Consecutive Day Report

$
0
0

Dear Gurus,

 

I've been working on the HR report to calculate the number of employees who worked consecutively for > 12 days and >=26 days.

 

I could able to calculate the counter for consecutive days for each employee and for each day as below:

 

Calendar DayEmployeeWorked HoursBreakWorked Hours (Counter)Day-Off (Counter)Consecutive Days
01.07.201576000010
02.07.20157608.750.33101
03.07.201576011.751.08102
04.07.20157608.750.33103
05.07.201576000010
06.07.201576011.751.08101
07.07.20157608.750.33102
08.07.201576011.751.08103
09.07.20157608.750.33104
10.07.20157608.750.33105
11.07.201576000010
12.07.20157606.50101
13.07.20157608.750.33102
14.07.201576011.751.08103
15.07.201576011.751.08104

 

 

But the problem here is system is summing up the consecutive days when I remove Calendar day and even when I employee it is worse.

 

My Requirement is as below:

 

JanFebMarApr..Dec
>= 24 Consecutive Days1.00%0.12%0.30%0.63%0.21%
>12 Consecutive Days5.00%2.41%7.41%9.41%4.41%
< 4 days of rest in any  a month10.00%9.34%4.34%12.34%

2.34%

 

 

% is calculated based on Total number of employees / number of employees with the consecutive days range 

for ex: total # of employees = 100           

>= 24 days = 10 Then 10/100 = 0.1

>12 days = 50     then 50/100 = 0.5

 

So, Kindly help me in the peculiar requirement.

 

Thanks a million in advance.

 

Regards,

Ravi Kanth


Viewing all articles
Browse latest Browse all 3353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>