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

IF THEN formula replacing 0 instead of string

jpavlick
6 - Meteoroid

In my data set, I have a list of entities with tax ID's and tax ID type. Some of the Tax ID's were not provided and that field was left blank. I am trying to use IF THEN in the formula tool. When the Tax ID is null I want to replace the associated tax ID type with "Unknown" but it keeps being replaced with 0 instead. I have attached a picture and a test workflow with test data.

1 REPLY 1
mot
11 - Bolide

Hi @jpavlick,

 

If you change the formula to:

IF IsNull([Taxpayer ID]) THEN "Unknown" ELSE [TIN Type] ENDIF

it should work. I hope this helps. Best.

Labels
Top Solution Authors