ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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
Astéroïde

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 RÉPONSES 3
cjaneczko
Pulsar

How about this?

 

image.pngimage.png

flying008
Aurore

Hi, @Ksisterhen 

 

FYI.

 

Révélation
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
Astéroïde

can you send me this workflow?

Étiquettes
Auteurs des meilleures solutions