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

Conditional Formula on Boolean Resulting in "-1"

kaianderson
8 - Asteroid

I have a workflow where I'm using Regex Match to create two Boolean fields. I then changed the field type of the match fields to "String" so that I have "T" and "F" values in my data. I then want to use a formula to create a 3rd field that is "T" when either Company_Identifier or Field_1_Matched values equal "T" and "F" when neither of the 2 fields are true.

 

kaianderson_0-1584988829278.png

kaianderson_2-1584989063032.png

 

 

When I use the below formula on the data in the screenshot above, I get either "F" or "-1" values, and I cannot figure out why.

 

kaianderson_1-1584988992401.png

 

Anyone have any ideas?

2 REPLIES 2
AbhilashR
15 - Aurora
15 - Aurora

@kaianderson - modify your then statement THEN = 'T' and not THEN [Company_Identifier]='F'

 

Attached is a sample for your reference

kaianderson
8 - Asteroid

Thanks a bunch, @AbhilashR!

Labels
Top Solution Authors