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

How to convert the null value from the specific field.

yosukewatanabe
7 - Meteor

Hi,

I am attempting to converto Null value to specific fields value.
Though I had watched the discussion as following, I couldn't convert the field's data

 

https://community.alteryx.com/t5/Data-Preparation-Blending/Multi-Field-Tool-with-dynamic-fieldnames-...

 

What I'd like to do is to convert it to data in another field if particular field contains Null value.

For example, in the 2nd line of the table, convert the value of Field_4(null) into the value of r_Avg_Field_4.

 

Field_1Field_2Field_3Field_4Field_5Field_6r_Avg_Field_3r_Avg_Field_4r_Avg_Field_5r_Avg_Field_6
T00000012017/1/1 0:01808306231162336791551662511134639646513
T00000022017/1/1 0:0250517[Null]373177881651662511134639646513
T00000032017/1/1 0:038972773896925659[Null]51662511134639646513
T00000042017/1/1 0:047144521157[Null]
34251662511134639646513
T00000052017/1/1 0:058305178870432759651662511134639646513
3 REPLIES 3
ThizViz
11 - Bolide

What you are looking for can be accomplished with a formula tool, with this formula:

 

IF ISNULL([Col1]) THEN [Col2] ELSE [Col1] ENDIF

 

See if that works for you.

@thizviz aka cbridges, Bolide
http://community.alteryx.com/t5/user/viewprofilepage/user-id/2328
jgo
Alteryx Alumni (Retired)

Hi @yosukewatanabe,

 

Take a look at the attached workflow. It does require some transformation of the data table in order to create a dynamic process, but it's all put back together at the end.

 

Hope this helps!

 

Best,

 

Jimmy

yosukewatanabe
7 - Meteor

Thank you for your answer.

 

I had tried the workflow which you uploaded. And I could convert the null value to average value.

 

best regards,

 

Labels