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!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Formula issue when using 'not equal to'

Carlyn
8 - Asteroid

Hi

Seems like a ridiculous question but can anyone tell me why the 2nd formula below does not work in my workflow?

I have identified that it is the exclamation mark that appears to be the issue as when I remove that the formula works fine, but I am not aware of any other way to identify data that does not equal what I am looking for. I have included a screen shot to show how it appears in my Alteryx.

 

1. IF ([Category] = "Due To/Due From" and [ABS] >500000) THEN "Over" ELSE "Under" ENDIF

2. IF ([Category] != "Due To/Due From" and [ABS] >1000000) THEN "Over" ELSE "Under" ENDIF

 

Carlyn_0-1752840166166.png

 

2 REPLIES 2
davidskaife
14 - Magnetar

Hi @Carlyn 

 

!= is the right syntax. The error is at the greater than point - what is the error message you're getting, what is the data type of ABS, and what data type are you setting the column as?

 

Screenshot 2025-07-18 133611.png

Carlyn
8 - Asteroid

Thanks for replying

 

Parse Error at char (138):Malformed if statement.

I did think it was relating to the > , but I coudn't understand why the formula works when I remove the ! and also all the columns are the same as the ones used in the 1st formula and that is working.

 

However, I just double checked the ABS data type and it was Vstring so I have updated it to Fixed Decimal and the formula is now working.

 

Thanks again

Labels
Top Solution Authors