Within my crystal report details section i have several values from the field amount, i added a simple formula field to my group header to calculate the SUM({Amount}) Which works however i only want it to SUM the positive values.
There is always a negative version of the positive.
Data
10
30
60
-10
-30
-60
Current Output with SUM({Amount})
0
Desired Output
100
Something like but in crystal variant
SUM({Amount}) FROM mytable WHERE {Amount} > 0
Sum(case when {amount}>0 then {amount} else 0 end)or forums.asp.net/t/… - xQbert