Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Invalid type in operator !=.

ShantanuDagar
8 - Asteroid

Hey all, 

 

I am getting the above error in one of my filter to validate data.

 

The validation is: ([Status]="Existent" AND [ABC %]>[EFG %] AND ([EFG %]!= 0 OR [EFG %]!= "" ))

 

Data type of EFG is double.


If status = Existent, ABC % should not be greater than EFG %

 

Have to identify the values which doesn't satisfy the above condition if status = Existent. Need those values out of T output anchor.

Also have to exclude those with EFG% values as 0 or blanks.

 

Major doubt is about the Error as in title. Every other validation on different columns is working perfectly.

3 REPLIES 3
binuacs
21 - Polaris

@ShantanuDagar Can you update your formula like below and try again? 

 

([Status]="Existent" AND [ABC %]>[EFG %] AND ([EFG %]!= 0 OR !isEmpty([EFG %])))

 

ShantanuDagar
8 - Asteroid

Works now, thanks for quick fix.

ShantanuDagar
8 - Asteroid

@binuacs hey 

 

I am still getting records with 0 in EFG column. 

Is there any issue in validation?

 

0 values aren't excluded

Labels
Top Solution Authors