Alteryx Designer

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

How Can I convert positive amount to Negative amount

Highlighted
7 - Meteor

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.

 

 

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner

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

 

Highlighted
7 - Meteor

Thank you so much for your help.

Highlighted
9 - Comet

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