Summaries
Summaries are a special kind of formulas that are built into Logi 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, Logi 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:
See also:
- Summary Fields for how to work with summaries as component in a report.
- The report UsingSummaries.cls in the SampleComponents catalog saved in
<install_root>\Demo\Reports\SampleComponents
which contains examples of how summaries could be used in a report.