ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RESUELTAS

Conditional Formula on Boolean Resulting in "-1"

kaianderson
Asteroide

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 RESPUESTAS 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
Asteroide

Thanks a bunch, @AbhilashR!

Etiquetas
Autores con mayor cantidad de soluciones