Grouping rows

You can group related rows together and, optionally, calculate statistics for each group separately. For example, you might want to group employee information by department and get total salaries for each department.

How groups are defined

Each group is defined by one or more report columns. Each time the value in a grouping column changes, a break occurs and a new section begins.

For each group, you can:

Grouping example

The following report retrieves employee information. It has one group defined, Dept_ID, so it groups rows into sections according to the value in the Dept_ID column. In addition, it displays:

The following screenshot shows the report.

A Data Window is shown

How to do it

You can create a grouped report in three ways: