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

About the Sum () Function

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Suriya
Top achievements
Rank 1
Suriya asked on 03 Sep 2009, 06:28 AM
Dear Sir ,
                i am Suriya again , i have a doubt in sum () , i wanna to display the sum of a group in the detail band, Is it possible or not ?
 If it is possible what is the syntax..    

For Exaple :

Group 1 :
1 (count --> field name)
1
1
total

Group 2 :
2
2
2
total
-------------
From above format i wanna to display as follows :
Group 1 :
3 (sum(count) --> field name)
3
3
total

Group 2 :
6
6
6
total

But now i have rendering as follows :

Group 1 :
9 (sum(count) --> field name)
9
9
total

Group 2 :
9
9
9
total

Please reply as soon as possible..

Thanking you
Suriya Narayanan S

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Sep 2009, 08:30 AM
Hello Suriya,

You should use GroupFooter with PrintOnEveryPage for group sub total calculations. If you want to calculate Grand Total - use ReportFooter section. Please take a look at "Understanding Report Sections" to clarify the purpose of report sections.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Suriya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or