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.
SOLVED

Making a Date Value to NULL in Expression

Heitor
5 - Atom

I have a date field in my data which i want to replace values, given a certain contition, to NULL.

Trying this IFF funciton, but it gives me "Invalid Type in operator =="

 

DATE_FIELD =

IIF(Left([FieldA],1)=!"B", [Start_Date], Null() )

 

 

 

2 REPLIES 2
JohnJPS
15 - Aurora

Perhaps you want != instead of =!

Smiley Happy

Heitor
5 - Atom

Oh man... Thanks John. Apologies for the rookie mistake.Smiley Happy

Labels
Top Solution Authors