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.
SOLVED

Format number

sianastaso
5 - Atom

Hi I have the following question:

I have a dataset with shops that are displayed as: new and closed. 

The total number of shops is 150 and the closed ones are 80. 

Can I display the number 80 with " - " in front? 

2 REPLIES 2
davidskaife
14 - Magnetar

Hi @sianastaso 

 

EDIT - i've made this FAR more complicated than it needs to be haha, you can simply do this instead:

 

DavidSkaife_0-1671806727823.png

 

 

Yes you can, just use the formula below in a Formula tool and apply to the existing Closed field (this assumes the field data type is a number already):

 

 

tonumber('-'+tostring([Closed]))

 

 

DavidSkaife_0-1671806536924.png

Felipe_Ribeir0
16 - Nebula

Hi @sianastaso 

 

You can multiply the Closed column by -1.

 

Felipe_Ribeir0_0-1671807058303.png

 

Labels
Top Solution Authors