In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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