Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to select a value from a list, and add it into a filter / formula

Lilenggoh
6 - Meteoroid

Hi! I'm trying to create a workflow to determine who among my participant list are late for a course. I know the easiest way is to hardcode a specific "start time" and "end time" so that I filter off those who are early or late, like this below:

Lilenggoh_0-1646360182289.png

 

However I'm also looking to apply this workflow in the future for other courses, which now means that I will have a variety of start times and end times.

 

It wouldn't make sense if I create various start/end time filters as that would mean I will then need to manually connect to the "correct" start time and end time every time I use the workflow. 

Lilenggoh_2-1646360648055.png

 

This is how I envision the workflow to be. But what I'm missing is the connection from selecting specific start and end time, and then sorting and filtering base on the selected start and end time.

Lilenggoh_0-1646361244344.png

 

 

Hope to hear from you guys! Probably there's some tools that I'm just not familiar with in Alteryx. 

 

Thank you!

 

-Lileng

 

3 REPLIES 3
gabrielvilella
14 - Magnetar

If you have a table with all the start and end times for each course, you can then just join this to the participant list. You will be able then to use those fields on the IF statement, rather than the hard coded time values. 

Qiu
21 - Polaris
21 - Polaris

@Lilenggoh 
Maybe you mean something like is?

You can define your custmized Start and End Time in the definition table for easy maintenance.

0304-Lilenggoh-1.PNG0304-Lilenggoh-2.PNG

Lilenggoh
6 - Meteoroid

@gabrielvilella @Qiu Thanks both for the suggestion! Will definitely give it a try. Really appreciate it :) 

Labels