Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Dates

Ayaanarjun-5885
8 - Asteroid

Hi, I have some data with Records and dates. Now I want to extract the data from only last 2 dates and so that I can analyze whether the records are repeated or not based on last 2 dates. As per the below I can analyze ""I" is repeated on both the dates then I'll another column and I'll mark it as "Yes" as it is repeated. Could you please provide the solution for below

 

Input:

 

RecordDates
A10/29/2023
B10/29/2023
C10/29/2023
D10/31/2023
A10/31/2023
F10/31/2023
D10/31/2023
D11/1/2023
I11/1/2023
J11/1/2023
I11/4/2023
L11/4/2023
I11/6/2023
J11/6/2023
O11/6/2023

 

Output:

 

RecordDatesRepeated or not
I11/4/2023 
L11/4/2023 
I11/6/2023Yes
J11/6/2023No
O11/6/2023No

 

1 REPLY 1
messi007
15 - Aurora
15 - Aurora

@Ayaanarjun-5885,

 

Please see below how you can do that.

 

Check Dates.PNG

 

Attached the workflow.

Hope this helps!

 

Regards,

Labels
Top Solution Authors