Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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
Top Solution Authors