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

Fill Nulls in empty cells

amitsingh145
8 - Asteroid

Hi,

 

Please fill empty cells with null value.

 

Thanks

2 REPLIES 2
Ladarthure
14 - Magnetar
14 - Magnetar

Hi, 

 

you can use a formula with something like this:

 

if isempty([field]) then null()

else [field] endif

 

hope it helped!

TomWelgemoed
12 - Quasar

Hi, 

 

Know this is solved, but please note that there is a shortcut for doing this for multiple columns: you can use the multi-field tool and apply this across your entire dataset (!) . 

 

Your formula will then just be needed once, and looks like this:

 

if isEmpty([_CurrentField_])
then NULL()
else [_CurrentField_]
endif

 

Regards,

Tom

Labels
Top Solution Authors