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.
SOLVED

SIGN Function

calvincarr29
8 - Asteroid

Is the SIGN function available to use in Alteryx?

 

I've tried searching for it but no luck.

5 REPLIES 5
alexnajm
19 - Altair
19 - Altair

Is this not it? SIGN Function (alteryx.com)

alexnajm
19 - Altair
19 - Altair

 Ah shoot, this was for Trifacta. Here's the workaround: Solved: Detection of Positive and Negative Amount - Alteryx Community

calvincarr29
8 - Asteroid

It's not popping up in the formula tool.

CoG
14 - Magnetar

Cool Formula to mirror the Sign function:

 

([Number]<0) - ([Number]>0)

 

^suggested by ChatGPT

patrick_digan
17 - Castor
17 - Castor

@calvincarr29 For what it's worth, @jdunkerley79 built a sign function into the alteryx abacus which is something you can add in to designer.

image.png

I've installed the abacus in my designer, so I can use the sign function: 

 

image.png

Looking under the hood of the abacus functions, James is using this formula:

IIF(ISNULL(Field1),NULL(),IIF(Field1=0,0,IIF(Field1<0,-1,1)))
Labels
Top Solution Authors