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

How to replace NULL with null cells?

ShantanuDagar
8 - Asteroid

Hello,

 

The question looks weird but isn't lol.

 

I need to replace all the cells spread across different columns with NULL spelt out to actual null cells ([null]).

 

Thanks

3 REPLIES 3
ShankerV
17 - Castor

Hi @ShantanuDagar 

 

Please make use of the Multi Field formula.

 

IF [_CurrentField_] = "NULL"
THEN Null()
ELSE [_CurrentField_]
ENDIF

 

Many thanks

Shanker V

DataNath
17 - Castor
17 - Castor

Hey @ShantanuDagar, if you drag a Multi-Field Formula tool into your workflow and select all of the fields you want to apply this to, you can then just put the following in your expression editor which will replace all instances of the word 'NULL' with an actual null value:

 

IF [_CurrentField_] = 'NULL' THEN NULL() ELSE [_CurrentField_] ENDIF

 

Example attached.

ShantanuDagar
8 - Asteroid

Thanks

Labels
Top Solution Authors