Forum Discussion

lulu's avatar
lulu
Frequent Visitor
9 years ago

continuous employment date

I have this data set :

 

Emp#FYJobStart
12017A7/1/2016
12016A7/1/2015
12015B7/1/2014
12014A7/1/2013
22017C7/1/2016
22005C8/3/2015
32017A7/1/2016
42017A7/1/2016
42016A7/1/2015
42015A7/1/2014
42014A7/1/2013

  I want to find the ealiest continuous employment date for an employee in a current job ( FY2017).

 

Example:

   *  emp#1 had job A in Fiscal year 2017,  the earliest continuous employment date for job A will be 7/1/2015 ( not 7/1/2013)

   *  emp# 2: the continuous employment date will be 7/1/2016 ( not 8/3/2015)

   *  emp#3 : 7/1/2016

   *  emp#4 : 7/1/2013

 

Thank you.

No RepliesBe the first to reply