BackPrevious Page Next PageNext

Summary Fields

Inserting summary fields in a report

Adding conditional formats to summary fields

A summary generates a count, average, sum, standard deviation or other transformation of a set of data values. A summary applies to a defined group of data or to the entire dataset.

Summary fields in a report can be used as the trigger object of links, and you can change their display types if you want.

See an example: The SampleComponents catalog, included with JReport Designer, contains reports that have examples of how each component type could be used in a report. For the summary field example, open <install_root>\Demo\Reports\SampleComponents\UsingSummaries.cls.

Inserting summary fields in a report

Summary fields can be inserted in the report areas listed in Component placement.

Notes:

Adding conditional formats to summary fields

You can add conditional formats to summary fields in a report, then when a specified condition is fulfilled, the format defined on the condition will be applied to the field values automatically. This is very useful to highlight values that might need to be acted on by end users.

To add conditional format to a summary field, right-click it and select Conditional Formatting from the shortcut menu, then take the same procedure as described in Adding conditional formats to DBFields.

BackPrevious Page Next PageNext