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 : )

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels