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

Top 3 by Date

ashleyinman
8 - Asteroid

I have numbers that have multiple dates and a note entered for each date. I would like the take the most recent 3 dates but not sure how to do this with the Sample tool.

1 REPLY 1
neilgallen
12 - Quasar

@ashleyinman I would recommend sorting your data by whatever field you are using for the grouping, and then by the date. Then use a sample tool, choosing "First N Rows" and N=3.

 

Then ensure the check box for "Group by Column (optional)" is selected for whatever field you are using for groupings.

Labels
Top Solution Authors