Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

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