community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE

Converting Null to Zero- Having issues with imputation tool-Looking for a fix

Meteor

After using a cross tab, the results have 'null' . How do i convert the field which are 'Null' to '0'? Imputation doesn't seem to help (fields to impute don't pop up automatically- I get an error when i run it and then i select them all but it doesn't work all the time- Guessing the issue is with data type). using Multi formula tool might not work, because I'm not sure what Columns will come up in the results. Can you please help me fix my issue?

 

Capture.PNG

 

 

 

 

 

Pulsar

It might be that the Crosstab tool converts everything to strings.

 

You could use the multi field formula with a formula like:

 

if isnull([_CurrenField_] then '0' else [_CurrentField_] endif

Meteor

My issue with Multi-Field Formula is The columns don't come up in that aswell. 

Capture.PNG

Pulsar

I think the Crosstab tool turned your fields into strings, so under field types in the Multi-Field tool you should select Text or All types of fields.

 

Uncheck Copy Output Fields Add.

 

You can change them to numeric field types with a Select or Auto Field Tool

 

currentfield.png

Meteor

I did that, but it isn't showing up those state codes in the drop down.Capture.PNG

 

 

 

Pulsar

Can you please send some sample data and your desired outcome for us to have a look.

Labels