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!
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?
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.
Workflow:
Input:
Output:
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 😀👍