Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Removing the oldest duplicate

ajquinones
5 - Atom

Hi. I have a dataset that contains duplicate values, but also contains date values. I'd like to remove only the oldest duplicate and keep the most recent version. For example: 

 

Soccer

1/5/20
Baseball1/9/20
Baseball1/6/20
Soccer1/20/20

 

In the above example dataset, I'd like to keep: 

Baseball1/9/20
Soccer1/20/20

 

Thank you! 

4 REPLIES 4
DavidP
17 - Castor
17 - Castor

This is how I would do it

 

DavidP_0-1596066054429.png

 

AbhilashR
15 - Aurora
15 - Aurora

Hi @ajquinones, if you have more than one duplicate/date for a given item (i.e. soccer, baseball) the attached approach might help.

AbhilashR_0-1596066620548.png

 

  

ajquinones
5 - Atom

Thanks so much! 

martinme8
5 - Atom

I used this method. 

 

martinme8_0-1596491800813.png

 

Labels
Top Solution Authors