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.
SOLVED

Subtraction Formula Showing incorrect answer

rkeenan125
7 - Meteor

Hi,

Not sure if this has happened with anyone but I'm trying to create a column that shows the difference between two others but some of the values are showing Null.

Column A - Column B = Column C

Example of what I'm seeing

$300 - Null = Null

I trying doing the Data Cleansing to replace with zeros but still getting 0 as the answer. They're all Doubles for the data type. 

 

Any input is appreciated. TIA.

2 REPLIES 2
MelGibson
10 - Fireball

@rkeenan125 do you have a sample screenshot and/or workflow you can share. Can you filter for those that are showing null and verify that if null it updated to zero prior to the formula tool. Make sure you cleanse tool has the fields you want selected and that replace with 0 for numeric fields is checked

rkeenan125
7 - Meteor

Ahhh I realized I was doing cleansing too late into the workflow. Switch it's location and it worked. Thank you lol.

Labels
Top Solution Authors