Alteryx Designer Desktop Discussions

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

is there a way to ouptup a number as a percent to Excel

Brad1
11 - Bolide

is there a way to ouptup a number as a percent to Excel?  Example .15 to 15%,

5 REPLIES 5
CharlieS
17 - Castor
17 - Castor

Since the "%" character isn't a numeric value, this will have to be made as a string field. If the original field is called [Percent], create a new field (formatted as a string) using this formula:

 

tostring(([Percent]*100),0)+"%"

Brad1
11 - Bolide

How do I get 1 sig fig to the right of the decimal point?

Brad1
11 - Bolide

Did you adjust the formula to this: 

tostring(([Percent]*100),0)+"%"

 

if so I get a Malformed Function Call

Brad1
11 - Bolide

Oh, never mind.  I guess it only works if you type the formula correctly.

CharlieS
17 - Castor
17 - Castor

Haha we've all been there. I did update the formula with the ",0" to specify 0 decimal places.

 

I'm glad the formula worked. Happy Alteryx-ing!

Labels