Hi All,
Below I have shared a dataset which has Data for the Month of July and August 2022. I have to calculate the Standard Business Hours for Each Employee Month wise Dynamically (Location Wise also).
It should be calculated based on the Hire date of every individual and Last Day of Work. So the calculation should be like this – say, we are creating the report for July 2022 and we have 20 business days in the month. So the standard hours should be 20*8 for all the resources (Location Wise) except those who joined on different dates of July or left the firm on different dates in July. For an example if one individual joined on 9th July and had 17 business days, then the standard hours will be 17*8 for that resource. Similarly if one individual has left the firm on 12th July and got 9 working days then the standard hours will be 9*8.
To Calculate the number of Working Days we will have to Exclude the Dates which fall in Weekends (Sat, Sunday) Also Exclude the Firm Holidays for which I have shared a Holiday List File below.
Note: "Date" is the field which will tell us it has Data for which months. I have just shared data for 2 months but it will have data for Multiple months.