Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing duplicate but keep most recent edited

nwatzlaf
8 - Asteroid

Hi there,

 

I have a data set with some duplicates. I want to keep the one row where the "last edit date" is the most recent. Is there a way to do this?

 

Thanks,

Natalia

2 REPLIES 2
Kenda
16 - Nebula
16 - Nebula

Hi @nwatzlaf 

 

The sort tool will be your friend here. I'd recommend sorting by your "Last Edit Date" field in Descending order. Then you can either use a Sample or Unique tool to get the first one for each group of records. 

 

Hope this helps!

nwatzlaf
8 - Asteroid

Thanks so much!! @Kenda 

Labels
Top Solution Authors