Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

How Can I convert positive amount to Negative amount

imrahu01
8 - Asteroid

Hello All,

Attached is my output file. I am trying to change only my "Return and Allowances" amount from positive to negative. How can I do that? THANK IN ADVANCE.

 

 

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hi @imrahu01 ,

 

If you need to convert multiple columns based on that rule, you can use the multi field tool to accomplish that.

fmvizcaino_0-1592846723877.png

You need to select all columns you want to consider and then write your expression in a dynamic way where [current_field] are the columns you select before.

 

Best,

Fernando Vizcaino

 

imrahu01
8 - Asteroid

Thank you so much for your help. 🙂

pankajk
10 - Fireball

if there is 1 field you want to change to negative than use the formula tool with 'if' condition (screenshot below). if there are multiple fields than there are different ways to do it....... transposing/dynamic select, etc

 

pankajk_0-1592846888023.png

 

Labels