The following fields can be used as aggregate fields to summarize data in crosstabs:
JReport provides you with the following methods to manage the aggregate fields in crosstabs easily:
When a crosstab is created, you can further drag and drop fields from the Resource View panel to the crosstab to add more aggregate fields to summarize data in the crosstab.
If the selected field has been predefined with an aggregate function, you cannot edit the function any more, and the drop-down list is changed to the Aggregation text box with the name of the field displayed in it.
When you have added an aggregate field using this way, in the Display screen of the Crosstab Wizard, you can find the new aggregate field in the Summaries box along with the specified function and display name.
For the aggregate field that has no predefined aggregate function in a crosstab, you can switch the function it uses at anytime. To do this:
To remove an aggregate field from a crosstab, right-click the field and click Remove Aggregation on the shortcut menu.