Alteryx Designer Desktop Discussions

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

Sum a Total Without Including the Negative Value

KamenRider
10 - Fireball

Hi guys,

 

I would like to seek your help in line to the following scenario. I would like to sum a certain column wherein it would only give me all the positive values ignoring the negative values. Please advise what formula or action should I used to acquire this solution. See sample table below.

 

KamenRider_0-1651059988777.png

Looking forward for your help on this matter.

 

Thanks,

Kamen

2 REPLIES 2
benjamin_feuchter
8 - Asteroid

Hi Kamen, one way you could this would be applying a formula tool to replace the negative numbers with 0s (e.g. by using this expression: IF [COLUMN] >= 0 THEN [COLUMN] ELSE 0 ENDIF) and then use a summarize tool on this column with the "Sum" action.

KamenRider
10 - Fireball

Thanks for the response @benjamin_feuchter . I appreciate it so much.

Labels