A crosstab is a statistical component that summarizes categorical data in one or more row and column groups in a concise format for analysis or reporting, optionally with hierarchical structure. It usually represents the joint distribution of two or more variables in compact row and column format. In business intelligence, engineering, survey and scientific research, the crosstab is widely used. A common term for a crosstab is a pivot table.
JReport also supports a unique compound crosstab that allows you to put multiple crosstabs together in a very flexible structure. This makes far more sophisticated crosstab analysis possible.
Meanwhile, in order to meet the requirements from voice agents used by people with eyesight disabilities, JReport supports exported crosstab components in the HTML data table format to get a section 508 compliant result. For detailed descriptions, refer to Accessibility.
Pick a task from the following:
Customizing the Crosstab Layout
Defining Comparison Functions in a Crosstab
Managing the Aggregate Fields in a Crosstab
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 crosstab component example, open <install_root>\Demo\Reports\SampleComponents\Crosstab.cls
.