Skip to main content



      Home
Home » Archived » BIRT » calculate sum of column content
calculate sum of column content [message #184913] Tue, 15 August 2006 02:44
Eclipse UserFriend
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
Previous Topic:Deploying BIRT RCP app with Java EventAdapters
Next Topic:Appending to SQL Where statement
Goto Forum:
  


Current Time: Sat Jun 07 17:10:26 EDT 2025

Powered by FUDForum. Page generated in 0.02930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top