Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
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