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.
解決済み

Stopped converting at a comma. It might be invalid

PassION_es
ファイアボール

hi need help on how to fix this error:

USD Amount: -45,000 Stopped converting at a comma. It might be invalid". I tried similar case on this link- https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Stoped-converting-at-a-comma-It-might-... but it did'nt work.  Maybe needing a RegFormula but I'm still not know how to use it.   Attached is my dummy Input data in csv format. Thank you, have a nice day.

Abegail0203_0-1651967275467.png

 

5件の返信5
Luke_C
17 - Castor
17 - Castor

Hi @PassION_es 

 

I presume you're trying to convert the amount to a double? Just put a formula tool before the select tool with the below formula to update the Amount field. This will remove the commas and allow the data to be converted to a double.

 

Replace([Amount],',','')

 

Luke_C_0-1651968398669.png

 

PassION_es
ファイアボール

Thanks @Luke_C , it works correctly.

daya2022
アトム

Hi, can I please check how this can be done for multiple columns?

daya2022
アトム

Hi, can I please check how this can be done for multiple columns?

Luke_C
17 - Castor
17 - Castor

Hi @daya2022, you would use a multi-field formula tool

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