Forum Discussion

bml123's avatar
bml123
Post Patron
4 years ago
Solved

Date it became first active

Hi,

 

I have data like this

IdDateStatus
101/03/2022Inactive
102/03/2022Active
105/03/2022Active
203/03/2022Inactive
204/03/2022Active
205/03/2022Active

 

I want to know the date it first became Active. 

My desired output

 

IdDateStatusFirst_Active
101/03/2022Inactive02/03/2022
102/03/2022Active02/03/2022
105/03/2022Active02/03/2022
203/03/2022Inactive04/03/2022
204/03/2022Active04/03/2022
205/03/2022Active04/03/2022