Alteryx Designer Desktop Discussions

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

Output CSV file with commas as decimals

pericoduran
5 - Atom

Hello, I have a full workflow done and just need to download the output into a folder using the Output tool. I work with dots as decimals but my client needs a file with commas as decimals. I am trying to download the CSV file so that it has commas as decimals but I am unable to do so. Can you please tell me what settings do I need to modify to be able to extract the output in the desired way?

3 REPLIES 3
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @pericoduran,

 

You'd have to store the value as a string and replace the decimal with a comma.

 

Replace(ToString([Values]), '.', ',')

 

image.png

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

pericoduran
5 - Atom

Thanks! Now it works! 

DavidP
17 - Castor
17 - Castor

Jonathan's method is spot on.

 

There is also an option in the Tostring() function to specify what you want to use as the decimal separator. Go one step further and use the Multi-Field formula tool where you can change both the value and datatype of a field in a single step.

 

DavidP_0-1588089222876.png

 

Labels