BackPrevious Page Next PageNext

Summaries

Summaries are a special kind of formulas that are built into JReport to save you time and effort. They can be used for both DBFields and existing formulas. Summaries allow you to generate aggregate functions for your data, such as count, average, sum, and standard deviation. Summary functions are based on how you want to group the data as well as final totals for the data. For example, if you group your data according to country, and you have two groups (US and Canada), then when you add a summary function to the country group, you will get the summary result for each group. Summaries can also be used as value for crosstabs and charts.

Since summaries are frequently used in reports, JReport provides you with an easy-to-use GUI for this purpose. However, summaries will also be created automatically by report wizards when you add summaries for each group in a query based page report.

The following topics describe summaries in detail:

Summary Functions

Creating a Summary

See also:

BackPrevious Page Next PageNext