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.

Dynamic Imputation

swoodling
7 - Meteor

Hello all-

 

I am working on an analytic app which allows users to import their own data sets. Due to the fact some data sets result in more columns in the output, my imputation tool that is being used to replace nulls with zero's does not work for any new columns in the users data set. Is there a way to dynamically replace nulls if the number of row/columns is not fixed?

 

Thanks!

2 REPLIES 2
JosephSerpis
17 - Castor
17 - Castor

Hi @swoodling you can indeed if you use a Multi-Field tool as it has the option of Dynamic/Unknown fields that can cope if the fields change. I mocked up a workflow let me know what you think?

atcodedog05
22 - Nova
22 - Nova

Hi @swoodling 

 

Instead of imputation tool we can mimic the same action with Multi-field tool.

Multi-field tool has a option to select dynamic or unkown columns. By which it will select all new columns added.

atcodedog05_0-1602784645755.png

 

Workflow:

 

Capture.PNG

Input:

Capture2.PNG

Output:

Capture3.PNG

 

Formula:

 

IF Isnull([_CurrentField_]) THEN 0  ELSE [_CurrentField_] ENDIF

 

 

Hope this helps 🙂


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

Labels
Top Solution Authors