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.

Data formatting

SCK
8 - Asteroid

Hi all, I need help in formatting the data in Alteryx. I have attached the input and desired file below for your reference. Please see the comma and decimal points.

 

Input:

 

190.86
4.85
14.9
200.9
21,000.89
9.000.87
45.090.67
560,000.76
1.560,00.65
3.257.000.45
15.769.056.78

 

Output:

 

190.86
4.85
14.9
200.9
21,000.89
9,000.87
45,090.67
560,000.76
1,560,00.65
3,257,000.45
15,769,056.78
8 REPLIES 8
afv2688
16 - Nebula
16 - Nebula

Hello @SCK ,

 

Would this help?

 

Untitled.png

 

Regards

messi007
15 - Aurora
15 - Aurora

@SCK,

 

Please see below:

 

messi007_0-1615558651553.png

Attached the workflow,

 

Hope this helps,

Regards

SCK
8 - Asteroid

Thank you all, the workflows work. However, I came across another situation wherein the numbers after decimal points have increased. Could you help with the below please.

 

Input:

 

21,000.898888

9.000.8777777

 

Output:

 

21,000.898888
9,000.8777777
pedrodrfaria
13 - Pulsar

Hi @SCK 

 

The WF provided by @afv2688 accomplishes this for you. 

 

 

Before:

pedrodrfaria_1-1615579932489.png

After:

 

pedrodrfaria_0-1615579916141.png

 

Is this not what you are looking for?

 

SCK
8 - Asteroid

Apologies, I have one other data set because of which the formula is not working entirely:

 Please help

Input:

190.86
4.85
14.9
200.9
21,000.89
9.000.87
45.090.67
560,000.76
1.560,00.65
3.257.000.45
15.769.056.78
59

47

 

Output:

 

190.86
4.85
14.9
200.9
21,000.89
9,000.87
45,090.67
560,000.76
1,560,00.65
3,257,000.45
15,769,056.78
59
47
messi007
15 - Aurora
15 - Aurora

@SCK,

 

have you tried the attached workflow?

 

messi007_0-1615627694545.png

Regards,

SCK
8 - Asteroid

The workflow is partially working because I have cases where the digits after the true decimal points is more than 2. Please help with this.

 

InputOutput
1,900.000.677777771,900,000.67777777
2.547.76797882,547.7679788
67.8999999967.89999999
afv2688
16 - Nebula
16 - Nebula

Hello @SCK ,

 

I don't see what the issue seems to be. It works for me

 

Untitled.png

 

Could you explain us please?

 

Regards

Labels
Top Solution Authors