ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
GELÖST

Sum a Total Without Including the Negative Value

KamenRider
Bolide

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 ANTWORTEN 2

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
Bolide

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

Beschriftungen
Top-Lösungs-Autoren