Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Replace nulls in DateTime field with blank/empty?

mb1824
9 - Comet

Hi,

 

How do I replace nulls in a DateTime field with a blank/empty?

 

The below doesn't work.

 

 

If IsNull([DateTime]) THEN "" ELSE [DateTime] ENDIF

 

1 REPLY 1
MarqueeCrew
20 - Arcturus
20 - Arcturus
Dates can be Null or a valid ISO date.

YYYY-MM-DD

If you want spaces, then you need to change the data type to a string type.

Cheers,

Mark
Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Labels
Top Solution Authors