Start Free Trial

Alteryx Designer Desktop Discussions

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

Problem with Date: "" is not a valid date

Luk88kk
8 - Asteroid


Good afternoon,
Could someone please help me solve this problem:
Why do I get this conversion errors: Date: "" is not a valid date.

I have a task that needs to delete the date if it is # in a row
I achieved this using the multi-field formula:

IF [Head of State] = "#" THEN "" ELSE [_CurrentField_] ENDIF

However, it gives me this error. Could someone please help me to get it right.

 

Luk88kk_0-1632744185889.pngLuk88kk_1-1632744212709.pngLuk88kk_2-1632744275016.png

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Luk88kk 

 

Change formula like below. Replace quotes with Null() it will give you the same output.

 

IF [Head of State] = "#" THEN Null() ELSE [_CurrentField_] ENDIF

 

Hope this helps : )

Luk88kk
8 - Asteroid

Yes it works, thank you very much for your help!:)

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Luk88kk 

Cheers and have a nice day!

Labels
Top Solution Authors