Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Multiply all fields in the column by a negative value

JamesG2806
7 - Meteor

Hi,

 

I want to Multiply all fields in the column by a negative value so if I have data similar to the below

 

 

Account                 Amount

Can                        -23019

UPS                       -2019

PBS                       -791.21

 

So I want to multiply all values under amount column by -1 to make them positive values. 

 

2 REPLIES 2
Ladarthure
14 - Magnetar
14 - Magnetar

Hi @JamesG2806,

 

you can use a formula to do so, just have a formula like this one [Amount]*-1 or abs([Amount])

joshuaburkhow
ACE Emeritus
ACE Emeritus

Yep, easiest way is use a formula tool to do that. Just take that field and multiple by -1

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
Labels