Forum Discussion

MattRoed's avatar
MattRoed
Icon for Helper I rankHelper I
6 years ago
Solved

Mark smallest date value in group

I want to create a column similar to the far right one in this table:

LocationIterationDateStarter
A11/1/2020Y
A11/6/2020N
A11/14/2020N
A21/14/2020Y
A21/17/2020N
A21/23/2020N
B11/1/2020Y
B11/6/2020N
B11/14/2020N
B21/14/2020Y
B21/17/2020N
B21/23/2020N

 

Basically I want to mark the first instance of the new iteration as a Starter "Y". So it would be the smallest date value for the iteration. But there can be multiple iterations marked as 1, but both location A and B should be marked as "Y" for the first #1. Does that make sense?

 

Thanks in advance!

  • FrankAT  I don't believe it is working. All records are marked as "N". The 1st and 2nd record should be marked as "Y". 

7 Replies