calculate sum of column content [message #184913] |
Tue, 15 August 2006 02:44 |
Eclipse User |
|
|
|
hi,
how can i sum the content of a column and not the count of a column? this
is my data and what i expect:
column
------
3
14
2
------
19
i dont want to get 3 as result! for sum i use this construct:
Total.sum(row["column"])
but i alwys got these error:
There are errors evaluating script "row["TOTAL_COLUMN_3"]".
An error happened in data type conversion.Can not convert the value of 3
to Double type.
the row values in the column are primitive long values. is this the
problem? i don't think so, cause Total.max(row["column"]) works perfect.
thanks
mseele
|
|
|
Powered by
FUDForum. Page generated in 0.02930 seconds