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

addting percentage

kauser
8 - Asteroid

i have a table and need to change only specific two line items into %. 

 

Current Output 

Item1Iteem2
A45789362.12
B.4589
C.8912

 

Expecting Output- 

 

Item1Iteem2
A45789362.12
B4.58%
C

8.92%

 

thank you 

 

 

1 REPLY 1
griffinwelsh
12 - Quasar

@kauser 

1. Convert your data type to string.

2. Filter out the rows you want to convert

3. Use the tonumber and to string functions in a formula to convert the decimal to a percentage and append the % symbol.

4. Union unchanged rows back into your final output.

 

Note: your expected output is only 10x to convert from decimal to percentage even though it should mathematically be 100x. I used 10x to match your output, but you should double check that this is correct. Solution is attached.

Labels
Top Solution Authors