Start Free Trial

Alteryx Designer Desktop Discussions

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

Conditional statement (error "Invalid type in operator >")

Shaman
7 - Meteor

Snag_3e0d79e2.png

I have a conditional statement, which does not work - cannot find the mistake (error "Invalid type in operator >") - Any idea?

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @Shaman 

 

The possibility is [Age] is a string datatype convert it to int datatype and try. Provide some sample data we can try.

 

Hope this helps : )

Shaman
7 - Meteor

I have ToNumber([Age]) before

atcodedog05
22 - Nova
22 - Nova

Hi @Shaman 

 

Try this workflow

 

atcodedog05_0-1644910206728.png

 

Hope this helps : )

 

Shaman
7 - Meteor

Integer helped indeed !!!

binu_acs
21 - Polaris

@Shaman 

binuacs_1-1644910242062.png

 

 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Shaman 

Cheers and have a nice day!

Labels
Top Solution Authors