In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

IIF IS Null statement

czjames87
8 - Asteroid

I am trying to build a column using the formula below but can't seem to get the null portion to work correctly. I want the new column to read if the first update date is null then use the last update date else use the first update date. Below is what i am using. Any help would be greatly appreciated. 

 

 

iif(IsNull([move_event_first_update_dt],([move_event_last_update_dt]),[move_event_first_update_dt]))

3 REPLIES 3
JagdeeshN
12 - Quasar
12 - Quasar

Hi @czjames87 

 

Another way of writing this formula is below:-

 

 

if isnull(first update date) then

last update date

else first update date

endif

 

 

Do let me know if it works.

 

Best,

Jagdeesh Narayanan

Hi @czjames87 

 

I believe that your formula is missing a ")" after the IsNnull.

 

It should be like this: iif(IsNull([move_event_first_update_dt]),[move_event_last_update_dt],[move_event_first_update_dt])

 

Hope this helps!

czjames87
8 - Asteroid

that did it. Thank you. 

Labels
Top Solution Authors