Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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