ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Percentage calculation

wonka1234
10 - Fireball

Hi,

 

How can I convert my formula to a percentage?

 

wonka1234_0-1655136488554.png

 

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

Just wrap it in ()*100, so:

([$ Difference (Attribute Abi)] / [MTD NII (IA Recalculated)])*100

 

If you actually want it with a % symbol then you can also use:

ToString(([$ Difference (Attribute Abi)] / [MTD NII (IA Recalculated)])*100)+'%' - for this approach, you'll need to change your output data type to a string in the formula tool.

JamesCharnley
13 - Pulsar

Hi Wonka,

 

If you're just sort of looking for an aesthetic %, perhaps for a report, then I think the easiest thing to do would be to just multiply your output by 100, convert it to a string, and add a '%' to the end in a formula. If you're looking for something different then let me know. Cheers.

Labels
Top Solution Authors