Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Formula tool

akmuthu
7 - Meteor

I get a 0 and -1 in a new column after performing a calculation in Formula tool. What does 0 and -1 represent? Please help. Thanks.

4 REPLIES 4
ShankerV
17 - Castor

Hi @akmuthu 

 

The 0 and -1 represents the Boolean value of True or False.

True - -1

False -0

 

Many thanks

Shanker V

Felipe_Ribeir0
16 - Nebula

Hi @akmuthu 

 

-1 means True and 0 means False. You can check this on the attached workflow, when the datatype of the Result column is changed to boolean, the label of the data will change to True/False.

 

Felipe_Ribeir0_1-1673575292250.png

 

Felipe_Ribeir0_2-1673575496455.png

 

akmuthu
7 - Meteor

Hi @Felipe_Ribeir0,

 

Your workflow clearly explains my doubt. Appreciate it!

 

akmuthu
7 - Meteor

Hi @ShankerV 

 

Thank you so much for your explanation. I get it now.

Labels