In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

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

Brad1
ボリード

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

5件の返信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
ボリード

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

Brad1
ボリード

Did you adjust the formula to this: 

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

 

if so I get a Malformed Function Call

Brad1
ボリード

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!

ラベル
トップのソリューション投稿者