Alteryx Designer Desktop Discussions

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

I'm getting an error in a filter tool Invalid type in operator ==

CherieACI
8 - Asteroid

I'm getting an error in a filter tool: Invalid type in operator ==. What does this mean? I have included a screen shot of the filter and I don't see any issues. We have been using this for months with no issues and now all of a sudden this error appears. 

CherieACI_0-1645802354088.png

CherieACI_1-1645802391567.png

 

Any ideas? Thanks!

 

 

5 REPLIES 5
TheOC
15 - Aurora
15 - Aurora

hi @CherieACI 

your error suggests that one of these columns is coming in as a string, and its a data type mismatch for the formula. Click on the results of the previous tool, and there should be a 'metadata' option in the results window:

TheOC_0-1645802612454.png


Here you can see what type all of your fields are. I would suggest using a select tool to convert all of these fields to a numeric.

 

 

Cheers,
TheOC


Bulien
JosephSerpis
17 - Castor
17 - Castor

Hi @CherieACI that means your data going through the filter dosen't match the criteria of the arguement you have in place. For example you check if a column = 0 which a numeric arguement if that column was a string instead then it will through invalid type.

messi007
15 - Aurora
15 - Aurora

@CherieACI,

 

Please check the columns [M1 Begin ...] they have to be Double.

Or if they are i string format you have to put the zero between "0".

 

Hope this helps !

Regards

CherieACI
8 - Asteroid

That is exactly what the issue was. Thank you! 

messi007
15 - Aurora
15 - Aurora

@CherieACI,

 

Happy to help :)

 

Regards

Labels