Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Comma in output instead of dot

areeba
8 - Asteroid

Hi

In my source file  one column is defined like this

 

Input:

Column1

1,111

0,8889

0,75

 

please note :its a comma in between not the dot in source input

When i am reading this in Alteryx the datatype is Double and this comma changes to dot . So it becomes like this

Column1

1.111

0.8889

0.75

My requirement is

  1. I want to print the column 1  values same(with comma) as input file in the output file
  2. I have to apply if else on this column with condition and generate a new column:

IF column1 is greater than  or equal to 1 then it round up to 1

For eg: 1,111 will become 1,00

 

Similarly if column1 is less than  or equal to 0 then it should print this way

0,75 will become 0,75

0,8889 will become 0,89

 

Can you please suggest the solution

Regards

Areeba

12 REPLIES 12
atcodedog05
22 - Nova
22 - Nova

Hi @areeba 

 

Here is the modified workflow

 

Output:

atcodedog05_1-1606300453665.png

 

Please check and let me know.

areeba
8 - Asteroid

@atcodedog05 

 

Absolutely correct! 😀

Thank you 

atcodedog05
22 - Nova
22 - Nova

Happy to help 🙂 @areeba 

 

Cheers and Happy Analyzing 😀

 

Feel free to reach out if you face any issues 🙂

Labels