SOLVED
SIGN Function
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
calvincarr29
8 - Asteroid
‎09-30-2024
08:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is the SIGN function available to use in Alteryx?
I've tried searching for it but no luck.
Solved! Go to Solution.
5 REPLIES 5
18 - Pollux
‎09-30-2024
08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is this not it? SIGN Function (alteryx.com)
18 - Pollux
‎09-30-2024
08:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ah shoot, this was for Trifacta. Here's the workaround: Solved: Detection of Positive and Negative Amount - Alteryx Community
‎09-30-2024
08:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It's not popping up in the formula tool.
CoG
14 - Magnetar
‎09-30-2024
08:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Cool Formula to mirror the Sign function:
([Number]<0) - ([Number]>0)
^suggested by ChatGPT
17 - Castor
‎09-30-2024
08:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@calvincarr29 For what it's worth, @jdunkerley79 built a sign function into the alteryx abacus which is something you can add in to designer.
I've installed the abacus in my designer, so I can use the sign function:
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)))
