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

Aggregates function is not working in report footer section

4 Answers 137 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Santosh
Top achievements
Rank 1
Santosh asked on 15 May 2008, 12:48 PM
Hi,

i have created one transaction report. In the report i display all transaction with quntity and price field. I need  to display grand total of total field. i used aggregate function =Sum(Fields.Total). it display correct data in detail section but when i used same textbox in footer section then it is not working. it showing blank data. how i will display grand total in footer section? is any other way to solve this issue. i am using "TelerikReporting_Q1_2008_dev_setup" reporting services.

Thanks & Regards
Santosh Lonkar

4 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 16 May 2008, 11:56 AM
Hello Santosh,

Thank you for contacting Telerik Support.

As it is described in our product documentation the main purpose of the report footer section is to show summarized information like totals. In the attached sample you can find a report where Sum aggregate function is used in its footer section.

Please note that the aggregate function operates only in context of the report's data source, i.e. the Sum function does not have access to the data source of subreports. If you rely on the aggregate functionality, you should use grouping instead of subreports.

If you have any other questions, please do not hesitate to contact us again.

Kind regards,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Santosh
Top achievements
Rank 1
answered on 16 May 2008, 01:24 PM
Thank you very much. it is working fine.

 
0
Khan
Top achievements
Rank 1
answered on 26 Sep 2008, 08:43 PM
Ivan

Can you please post your Zip file again? For some reason I can see the project file and the class file, but no code.

Thanks
0
Rossen Hristov
Telerik team
answered on 29 Sep 2008, 07:56 AM
Hi Azam,

Thank you for contacting Telerik Support.

The zip attached is fine. You can find the code in the files Report1.cs and Report1.Designer.cs that are in the archive. Do not hesitate to contact us again if you have any problems.

Regards,
Ross
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Santosh
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Santosh
Top achievements
Rank 1
Khan
Top achievements
Rank 1
Rossen Hristov
Telerik team
Share this question
or