Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

adding a column if unique id meets criteria

Ksisterhen
8 - Asteroid

I am wanting to add column that notes if the unique id meets a criteria

input example

 

IDEvent typeEvent Date
123created9/1/2022
123coded9/1/2022
123signed9/5/2022
12created9/1/2022
12coded9/1/2022
1234created9/5/2022
1234sent back for approval9/7/2022
12345created9/1/2023
1234coded9/1/2023
12345signed9/5/2023

 

 

Output

 

IDCoded?Signed, if signed date is less than 365 days from today
123CodedNot Signed
12CodedNot Signed
1234Not CodedNot Signed
12345CodedSigned
3 REPLIES 3
cjaneczko
13 - Pulsar

How about this?

 

image.pngimage.png

flying008
15 - Aurora

Hi, @Ksisterhen 

 

FYI.

 

Spoiler
IIF(DateTimeDiff(DateTimeToday(),DateTimeParse([Event Date],'%m/%d/%Y'),'day') < 365 && [Event type] = 'signed', 1 , 0)

 

录制_2023_09_27_13_34_29_524.gif

Ksisterhen
8 - Asteroid

can you send me this workflow?

Labels
Top Solution Authors