Skip to main content



      Home
Home » Archived » BIRT » How to calculate value?
How to calculate value? [message #19756] Thu, 17 March 2005 02:39 Go to next message
Eclipse UserFriend
Hi,

I read the tutorial and already made a report by BIRT system. It's quite
amazing that making a html report is so easy. But when I try to sum up a
column to get a number such as the total value , I don't know what's the
next step?
Ex:

Name Salary
ABC $10,000
BCD $ 2,000
-------------------------
Total $12,000 <--- How can I obtain this number?

Can anyone tell me how to do so? Thanks a lot!!

Andy
Re: How to calculate value? [message #19865 is a reply to message #19756] Thu, 17 March 2005 05:07 Go to previous message
Eclipse UserFriend
Hi Andy,

The following example will give you the hint to sum up a column.

Eg. The Data item containing Salary information is row["salary"],
The sum of salary will be Total.sum(row["salary"])

Enjoying your time with BIRT!

Nina


Andy wrote:

> Hi,

> I read the tutorial and already made a report by BIRT system. It's quite
> amazing that making a html report is so easy. But when I try to sum up a
> column to get a number such as the total value , I don't know what's the
> next step?
> Ex:

> Name Salary
> ABC $10,000
> BCD $ 2,000
> -------------------------
> Total $12,000 <--- How can I obtain this number?

> Can anyone tell me how to do so? Thanks a lot!!

> Andy
Previous Topic:param __uri
Next Topic:Build error
Goto Forum:
  


Current Time: Thu May 08 01:36:18 EDT 2025

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

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

Back to the top