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.
RÉSOLU

Replace nulls in DateTime field with blank/empty?

mb1824
Comète

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 RÉPONSE 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.
Étiquettes
Auteurs des meilleures solutions