In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
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