User`s guide
9.2.2 Creating running totals for a group
Another common use for running totals is tallying items in a group. The running total starts with the first
item in the group and ends with the last. Then it starts all over again for the next group, then the next,
and so on.
In this tutorial, you will create a report that:
• Maintains a running total of customer orders.
• Groups customer orders and resets the running total for each group.
• Displays the subtotal for each customer group.
9.2.2.1 To create a running total for a group
1.
To get started, create a report using the sample data, Xtreme.mdb.
Link the Customers and Orders tables and place the following fields from left to right in the Details
section:
{customer.CUSTOMER NAME}
{orders.ORDER ID}
{orders.ORDER AMOUNT}
Note:
Xtreme.mdb is located on the SAP Business Objects Support web site.
2.
On the Insert menu, click Group and group on the Customer.Customer Name field.
3.
On the View menu, click Field Explorer.
The Field Explorer dialog box appears.
4.
Select Running Total Fields and click New.
The Create Running Total Field dialog box appears.
5.
Enter the name "GroupRunningTotal" in the Running Total Name box.
6.
Highlight Orders.Order Amount in the Available Tables and Fields box, and use the first arrow
button to move it over to the Field to summarize box.
7.
Select sum from the Type of summary list.
8.
In the Evaluate section of the dialog box, click For each record.
9.
In the Reset section of the dialog box, click On change of group and accept the default group
name.
10.
Click OK to save the running total field.
2012-03-14184
Running Totals