Alteryx Designer Desktop Discussions

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

If the date is older than 1 Month, on new column I need to mark that row as 'Yes'

Lakshmikanth_2021
8 - Asteroid
DateOlder than One month
10-09-22Yes
11-11-22 
12-11-22 
13-11-22 
14-09-22Yes
15-11-22 
16-11-22 
17-11-22 
18-11-22 
1 REPLY 1
Felipe_Ribeir0
16 - Nebula

Hi @Lakshmikanth_2021 

 

One way of doing this

 

IF datetimediff(datetimetoday(), datetimeparse([Date], '%d-%m-%y'), 'months') >1 THEN 'Yes' ELSE Null() ENDIF

 

Felipe_Ribeir0_0-1669904306214.png

 

Labels