Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » More help with Aggregates in 2.2?
More help with Aggregates in 2.2? [message #254092] Fri, 31 August 2007 14:41 Go to next message
Steven is currently offline StevenFriend
Messages: 32
Registered: July 2009
Member
So it appears that the way aggregate functions work in 2.2 has
drastically changed from the time "Integrating and Extending BIRT" and
most help files were written. Is there any documentation as to the changes?

It seems like you can't access the aggregate functions by typing them in
anymore. It doesn't even look like you can just add aggregation in the
edit bindings. It seems like you can only use the aggregation tool in
the palate, but I can't find any documentation to confirm.

Essentially what I want to do is take a groups Total.last returns, and
average them. It looks like I used to be able to do this like this
Total.ave((Total.last(row["MyRow"], MySubGroup)), MyMainGroup). Do I
have to use the Aggration tool? Or can I hand write, or use the
expression builder in some way to access these functions?

Steven
Re: More help with Aggregates in 2.2? [message #254149 is a reply to message #254092] Mon, 03 September 2007 02:14 Go to previous message
Tianli Zhang is currently offline Tianli ZhangFriend
Messages: 2862
Registered: July 2009
Senior Member
Hi

You can define your aggregation both by using the new aggregation builder
in palette and writing the script such as Total.sum by yourself. They both
works as the same result. Your script: Total.ave((Total.last(row["MyRow"],
MySubGroup)), MyMainGroup) has some mistaken input. You should quotes your
groups' name

Total.ave((Total.last(row["MyRow"], "MySubGroup")), "MyMainGroup").


Regards!
Previous Topic:Wrapping text in data field
Next Topic:What's happened to propertyPage and IReportItemPropertyEditUI
Goto Forum:
  


Current Time: Thu Nov 14 10:04:58 GMT 2024

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

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

Back to the top