Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

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