For this case clarified .. Since EAGLE our estimate of revenue with the ID: 56080 (employees who resigned).
forum is 646.29 baht solution is to identify the employee leaves the field contract. end is the date that the employee's resignation is dated 27/06/2014.