Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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