SAP Crystal Reports
Crystal Reports for Enterprise 4.0: Calculate totals and subtotals for data
If your data is numeric, you can add calculations to your report, such as totals and subtotals. How the values are calculated depends on where you place the summary.
In this tutorial, you will add summaries for last year's sales to calculate subtotals by region and a grand total for all regions.