We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Sequence based on the last repeated value

DanielCarro
8 - Asteroid

Hi guys,

 

I have a situation  which I am trying to solve but got a bit stuck on it.

 

So I have the following data:

 

IDDATESEQ 
101/01/20251 
202/01/20251 
204/01/20252 
206/01/20253 
305/03/20251 
407/02/20251 
501/03/20251 
503/03/20252 
    

 

My objective is the below in column DATE2:

IDDATESEQDATE2
101/01/2025101/01/2025
202/01/2025106/01/2025
204/01/2025206/01/2025
206/01/2025306/01/2025
305/03/2025105/03/2025
407/02/2025107/02/2025
501/03/2025103/03/2025
503/03/2025203/03/2025

 

Much appreciated any advice.

 

Kind Regards,

Dan

2 REPLIES 2
davidskaife
14 - Magnetar

Hi @DanielCarro 

 

Use the Summerize tool to group by ID, and take the Last Date, then join back to the original data on ID. Example workflow attached

DanielCarro
8 - Asteroid

Hi @davidskaife 

 

It worked  perfectly.

 

Thank you so much

Labels
Top Solution Authors