This is a migrated thread and some comments may be shown as answers.

Creating Sum() type fields..

7 Answers 203 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
drew
Top achievements
Rank 1
drew asked on 22 Feb 2007, 12:48 AM
This is a repeat from the bottom of another thread, i just felt like i was hijacking it a bit, and that it deserved its' own thread..

i feel that likely i am going to smack myself "upside-da-head" for asking, but how do you implement aggregate fields in a report? In MS ReportView, you can can drag an attribute to the page footer and it just knows to setup the Sum(..). I have not been able to find an example of how to do it with beta1.. cheers, drew..

7 Answers, 1 is accepted

Sort by
0
drew
Top achievements
Rank 1
answered on 22 Feb 2007, 06:25 PM
i have a demo in a few hours and can possibly sell a client on the usage of the telerik reporting tool if i can get a pointer here, i am sure it is simple, but until you know, you just don't know. Perhaps if the demo solution had a draggable data source to play with it might be more readily apparent?
0
drew
Top achievements
Rank 1
answered on 22 Feb 2007, 06:56 PM
i just realized perhaps i wasn't clear. By "Sum()" i was referring to the basic function of a report to to create aggregate functions to total columns of numeric attributes, usually found at report ends, or group ends, etc...
0
Svetoslav
Telerik team
answered on 23 Feb 2007, 09:03 AM
Hi drew,

As I've already replied in the previous thread you are asking about the aggregate function. There is no example on how to use them because this functionality is not done yet -- we are currently working on it and I guess it will be ready for the next release (Beta 2).
 

Kind regards,
Svetoslav
the telerik team
0
drew
Top achievements
Rank 1
answered on 25 Feb 2007, 11:29 PM
Thanks kindly Svetoslav, i will thus have to buy into another product for the time being. i will revisit your reporting solution in due time. Still a huge fan of the rest of your offerings, but for now, the timing is just a tad off, oh well, thanks! drew..
0
Vassil Petev
Telerik team
answered on 26 Feb 2007, 09:02 AM
No problem, drew. Our solution is still in its infant stage and it will take us some time to bring it inline with the big players. We nevertheless appreciated your feedback - it helped us spot some problems which were fixed accordingly.

We will be glad if you revisit the Reporting solution later this year, for v2 (autumn).

Good luck!

Regards,
Rob
the telerik team
0
Brian Cumberledge
Top achievements
Rank 1
answered on 01 Mar 2007, 11:56 PM
Cant this be done in code and then written out in a footer?
0
Svetoslav
Telerik team
answered on 02 Mar 2007, 08:36 AM
Hi Brian,

You can try with some of the events that the report items expose:

    - Item Data Binding/Data Bound
    - Item Begin/End Render
    - Report NeedDataSource
    - Report Begin/End Render
    - Begin/End Render Report Page

I believe you can do your work with these events but it requires a little bit more coding :) We are currently working on aggregate functions and expressions that will allow you to easier create totals and more complicate data output. Expressions will be available for the next release.

 
Kind regards,
Svetoslav
the telerik team
Tags
General Discussions
Asked by
drew
Top achievements
Rank 1
Answers by
drew
Top achievements
Rank 1
Svetoslav
Telerik team
Vassil Petev
Telerik team
Brian Cumberledge
Top achievements
Rank 1
Share this question
or