Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

If statement based on older than date

jenner85
8 - Asteroid

Hello - I would like to make an If statement that would change the string in another field based on if the date is over 60 days old. For example:

 

DescriptionDate
Online7/4/2017

Online

11/13/2020
Online1/1/2020

 

Changes to:

DescriptionDate
Offline7/4/2017

Online

11/13/2020
Offline1/1/2020

 

 

Thanks!

3 REPLIES 3
PhilipMannering
16 - Nebula
16 - Nebula

Hi @jenner85 

 

This does the job I think,

 

PhilipMannering_0-1605562982844.png

 

Emil_Kos
17 - Castor
17 - Castor

Hi @jenner85,

 

I have prepared a workflow for you:

 

Emil_Kos_0-1605563271837.png

Output:

 

Emil_Kos_1-1605563279783.png

 

 

Please mark as an answer if helpful!

Good Luck!

Emil_Kos
17 - Castor
17 - Castor

Hi @jenner85,

 

Thank you for marking my post as a solution!

Labels