Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Select Record with Oldest Date

kheuer
8 - Asteroid

Hello,

 

I have a simple record set: SKU and First Date on List. I want to select the record with the oldest date on the list for each SKU and purge/ignore all others. What is the best way to handle this?

 

FirstDate.png

2 REPLIES 2
jdunkerley79
ACE Emeritus
ACE Emeritus

The easiest way is to use a Sort tool to sort by SKU then by First Date (both Ascending). Then use a Sample Tool to keep first 1 grouped by SKU.

 

This will leave you with the set you want

kheuer
8 - Asteroid

@jdunkerley79 - fantastic! Thank you so much.

Labels