Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Stopped converting at a comma. It might be invalid

PassION_es
10 - Fireball

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 REPLIES 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
10 - Fireball

Thanks @Luke_C , it works correctly.

daya2022
5 - Atom

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

daya2022
5 - Atom

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

Labels
Top Solution Authors