Group Data

<< Click to Display Table of Contents >>

RayVentory Data Hub > 12.5 u5 > Dashboards and Reports Customization Guide > Designing Reports > Shape Report Data > Group and Sort Data 

Group Data

Group a Report's Data

Do the following to group data in your report:

 

1.Create a new or open an existing data-bound report.
You cannot apply grouping unless your report is bound to a data source.

 

2.Insert the 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.
 
eurd-web-shaping-count-group-data

 

papercliper

Note:

See the Group Data by a Custom Field tutorial to learn how to group a report's data by a custom field.

 

3.Click the Up or Down buttons to define the sort order within the group (ascending or descending).
Use the DisableSortingh button if your groups are already ordered in the data source, and you do not need to sort them in the report.
 
eurd-web-group-data-sort-order
 

4.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.
 
eurd-web-group-field-collection-editor
 
The following images illustrate how a report looks when it is grouped by multiple criteria:

 

A single group with multiple group fields

Nested group header bands

 

eurd-web-group-data-multiple-fields-example

 

 

eurd-web-group-data-nested-fields-example

 

 

5.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.
 
eurd-web-group-data-drop-group-field

 

The resulting report looks as follows:

 

eurd-web-group-data-result

 

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.
 
eurd-web-group-data-group-union-property
 

Use the Keep Together property to print the Group Header/Footer on the same page as the group's contents.
 
eurd-web-group-data-keep-together-property
 

Use the Repeat Every Page property to print the group band on each page.
 
eurd-web-group-data-repeat-every-page-property
 

Use the Page Break property to start a new page before or after each group.
 
eurd-web-group-data-page-break-property
 

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.

 

eurd-web-group-data-page-numbers

 

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 control at the band's bottom.