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

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