Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

If Statement - Invalid type in operator

julianhoetzel
8 - Asteroid

Hi everyone,

 

could someone explain why there is an invalid type in operator in my if statement? 

 

Thank you in advance.

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi @julianhoetzel,

 

It looks that % of total payables aging is in string format.

 

Change it to a number and it should work(of course remove to string formula).

 

If this helped please mark my post as a solution!

pedrodrfaria
13 - Pulsar

The field % of total Payables Aging is a string value thus not allowing you to do numeric comparisons (greater than in this case). You must change the type to double or use the tonumber() to temporarily fix this for this expression you have written out.

Qiu
21 - Polaris
21 - Polaris

@julianhoetzel 
I count 3 locations that can be improved.
See the markup below.

Screenshot 2020-12-22 005446.png1222-julianhoetzel.PNG

Labels