Alteryx Designer Desktop Discussions

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

returning True in a formula

mstoler
Asteroide

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

Encuestas
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Etiquetas