motleyjew
Registered User.
- Local time
- Today, 05:01
- Joined
- Jan 11, 2007
- Messages
- 109
Good Morning,
I am trying to determine if a list of employees are on par to work at least 80 hours for the month. I have my table below called Labor_Insights. It has Agent_ID, Date_Worked, Staffed_Time(in seconds) fields. Below is an example of just one employee for a full month.
I normally run this data after my month ends. If sum(staffed time in seconds)/60/60 > 80 then they are eligible to be on the report. The sum below for employee 5 is 319,384. (319384/60/60) comes out to 88.71. So they would be eligible.
I am now running this data on a daily basis. I am looking to find a way in a access query to determine if the employee is on target to being at least 80 hours for the current month that is in progress (fiscal month range is 3/29 to 4/28). So if the below table for employee 5 only had 3 days worth of data for 3/31, 4/1, 4/2, that would total to 64,454 I'd like to say they are on par for working 80 hours based on some type of forecasting formula. Appreciate any help.
Thanks
Gregg
Table Labor_Insights
I am trying to determine if a list of employees are on par to work at least 80 hours for the month. I have my table below called Labor_Insights. It has Agent_ID, Date_Worked, Staffed_Time(in seconds) fields. Below is an example of just one employee for a full month.
I normally run this data after my month ends. If sum(staffed time in seconds)/60/60 > 80 then they are eligible to be on the report. The sum below for employee 5 is 319,384. (319384/60/60) comes out to 88.71. So they would be eligible.
I am now running this data on a daily basis. I am looking to find a way in a access query to determine if the employee is on target to being at least 80 hours for the current month that is in progress (fiscal month range is 3/29 to 4/28). So if the below table for employee 5 only had 3 days worth of data for 3/31, 4/1, 4/2, that would total to 64,454 I'd like to say they are on par for working 80 hours based on some type of forecasting formula. Appreciate any help.
Thanks
Gregg
Table Labor_Insights
Agent _ID | Date_Worked | Staffed_Time |
5 | 3/31/2020 | 30,656 |
5 | 4/1/2020 | 3,367 |
5 | 4/2/2020 | 30,431 |
5 | 4/3/2020 | 29,319 |
5 | 4/7/2020 | 30,591 |
5 | 4/8/2020 | 30,524 |
5 | 4/9/2020 | 13,043 |
5 | 4/10/2020 | 12,044 |
5 | 4/13/2020 | 30,908 |
5 | 4/14/2020 | 30,685 |
5 | 4/15/2020 | 6,213 |
5 | 4/20/2020 | 5,666 |
5 | 4/22/2020 | 30,435 |
5 | 4/23/2020 | 7,152 |
5 | 4/28/2020 | 28,350 |