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

Convert "NULL" text into actual NULL value in multiple fields

Coral
6 - Meteoroid

Hello, 

 

 

 

 

Is there a handy tool to convert the "NULL" text values from input source into actual NULL values? 

 

I would like to convert from this:

DateNameValue
NULLXYZNULL
2017-12-01AAA4312
2017-12-02BBB2412
2017-12-03NULLNULL
2017-12-04AAA4341
2017-12-05BBB5433

 

into this:

DateNameValue
[Null]XYZ[Null]
2017-12-01AAA4312
2017-12-02BBB2412
2017-12-03[Null][Null]
2017-12-04AAA4341
2017-12-05BBB5433

 

Thanks, 

 

Sabrina

2 REPLIES 2
JohnJPS
15 - Aurora

Sure, use MultiField formula with an expression:

IIF(ToString([_CurrentField_])=="NULL",Null(),[_CurrentField_])
scottj
Alteryx Alumni (Retired)

Use a Multi-Field formula tool.  Select all the text columns with the formula 

 

if [_CurrentField_]='NULL' then null() else [_CurrentField_] endif

Scott Jones
Strategic Sales Engineer
Alteryx, Inc.
Labels
Top Solution Authors