Running Totals in Crystal Reports
Here is a tip from the Flexible Solutions GP Reports October newsletter on how to create a running total in Crystal Reports.
Running totals are a great way to show totals that have a different calculation than a subtotal without having to write additional formulas.
Let’s look at an example: You have a list of unapplied vendor transactions grouped and subtotaled by vendor class. Below is an example of what this report looks like right now:
For each vendor class you already have a total due, but you also want to show the total credit limit so that you can compare the totals for each class. The credit limit is stored at the vendor level and because your report has more than one transaction per vendor, you cannot simply subtotal the credit limits for all the detail lines. Here are the steps to create a running total for the credit limit by vendor class:
-
Add the Credit Limit field somewhere in your detail section
-
Choose a name for the Running Total
-
Change the Evaluate setting to ‘On change of field’ and enter the vendor ID field (in this case PM00200.VENDORID)
-
Click OK to close the Create Running Total Field window
-
Click OK to close the Record Sort Expert window
Your report now has the credit limit totals per vendor class:
For more tips like this, sign up to receive GP Reports newsletters via e-mail. Or check out the newsletter archives on the Flexible Solutions website.
Posted in Crystal Reports Tagged: Crystal Reports, GP Reports

This was originally posted here.

Like
Report





*This post is locked for comments