Group a Report’s Data

To group data in your report:

  • Insert a Group Header band, select the Group Fields section in the Actions category and add a new group field to group the report’s data by the required data field.
  • Click the or buttons to define the sort order within the group (ascending or descending).
    Use the button if your groups are already ordered in the Dataset View, and you do not need to sort them in the report.
  • Click the plus button for the Group Fields section to create a new group field and specify its Field Name property.

Use the Move Up and Move Down buttons to specify the order in which these criteria are applied to the report’s data.

The following images illustrate how a report looks when it is grouped by multiple criteria:

  • Drag the corresponding field from the Field List panel and drop it onto the group header to display the group field’s value in the report.

The resulting report looks as follows:

Specify the Group’s Settings

Expand the Group Fields section to customize the group’s layout settings:

  • Use the Group Union property to keep a group’s content on the same page when possible.
  • Use the Keep Together property to print the Group Header/Footer on the same page as the group’s contents.
  • Use the Repeat Every Page property to print the group band on each page.
  • Use the Page Break property to start a new page before or after each group.

When you need to display page numbers for individual groups, add the Page Info control to the Group Header or Footer and set its Running Band property to the Group Header’s name.

Accurate page numbering requires that different groups do not appear on the same page. For this reason, you need to set the Group Footer’s Page Break property to After Band, or place the Page Break at the band’s bottom.

Revision: 1
Last modified: Aug 26, 2019

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment