Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

returning True in a formula

mstoler
8 - Asteroid

Hello,

 

I have a formula which is a boolean type.  I currently using this:

 

If 1>0 then
-1 //True
else
0 //False
endif

 

Is there a constant I can use for True and False instead of -1 and 0?

 

Thanks,

 

Michael

 

2 REPLIES 2
Thableaus
17 - Castor
17 - Castor

Hi @mstoler 

 

You can use "True" and "False" as well.


Cheers

jdunkerley79
ACE Emeritus
ACE Emeritus

In this case, you can just use:

1 > 0

for this and it will return the True or False appropriately 

Labels
Top Solution Authors