Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

If statement based on older than date

jenner85
Asteroide

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 RESPOSTAS 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!

Rótulos