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.
SOLVED

Date range - today date within the date range

joannasokolowska
9 - Comet

Dear Colleagues,

I need your advice regarding workflow I am trying to create. 

I have a date range and deadline columns. Workflow should check if today date is within the range and if yes then take the appropriate deadline (e.g. for today it should be 2021-01-30). 

 

Please look at the data input in the attached workflow. 

 

Thank you in advance!

Asia

3 REPLIES 3
Ladarthure
14 - Magnetar
14 - Magnetar

Hi @joannasokolowska,

 

I did a sample workflow to parse the date range and a basic rule, you can adapt it if needed!

 

 

Emil_Kos
17 - Castor
17 - Castor

Hi @joannasokolowska,

 

I have prepared a workflow for you:

 

Emil_Kos_0-1610376065144.png

 

This is checking the date if it is in this date range provided in column deadline. 

 

Emil_Kos_1-1610376088856.png

If you want to make it work for today's data you would need to change the deadline column to use DateTime now.


In the workflow, you have two solutions one for deadline column and second for today's date. 

 

Emil_Kos_2-1610376331605.png

 

joannasokolowska
9 - Comet

Perfect! thank you! 

Labels