ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Parse Error at char(23): Formula: tried to apply numeric operator to string value

Karl_Spratt
アステロイド

Hi Community 

 

Need some help please getting this error message 

Error: Formula (5): Parse Error at char(23): Formula: tried to apply numeric operator to string value (Expression #1)

I tried to change it to 

tonumber(Round([Value]*1.2,1))

but it still doesn't like it, can someone please explain how to fix this.

TIA,

Karl. 

4件の返信4
Emmanuel_G
パルサー

@Karl_Spratt 

 

Can you try to convert the field Value in numeric type ( double by example ) with a select tool before formula tool ?

 

You cannot multiply a string with 1.2 which is numeric.

 

Let me know if there is always any issue. 🙂

messi007
15 - Aurora
15 - Aurora

@Karl_Spratt,

 

Please see below :

 

messi007_0-1664268319010.png

 

Attached the workflow,

Regards,

Karl_Spratt
アステロイド

Thanks messi007 that worked. 

Community than you all.. 

Karl_Spratt
アステロイド

Thanks all for your help the different ways to do this all worked. I really appreciate all your help and advice.

The community help is really brilliant so tank you all..

 

Cheers,

Karl. 

ラベル
トップのソリューション投稿者