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.

selecting max string

Borisham
8 - Asteroid
Hello guys,
Borisham_0-1632224680165.png
This is my data and output needed example.
I would like to select for each student_id the max book_id and then, if there is for that book_id 2 records with the same book_id – I would like to select first the one with a timestamp that existed, if it doesn’t exist – take the null one. So the output should show only one book_id for each student_id.
 
I hope now the output makes more sense to you.
 
Thanks
 

 

 

1 REPLY 1
atcodedog05
22 - Nova
22 - Nova

Hi @Borisham 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1632225779079.png

 

Hope this helps : )

Labels
Top Solution Authors