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

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