You can group related data on a report to make it easier to read. For example, if you have a list of customers by salespeople and sales, you can group the report by salespeople, creating a subheading for each salesperson and all their customers beneath it.
Once data is grouped, you can perform calculations on it.
In the following procedure, you will use this example to learn how to group data on a report.

- Open the report that you want to group, for example, the Sample ARW: Simple customer YTD Sales Report.
- Click Edit.
- On the Definition tab, choose the data on which you want to Group, and set the Sort order on that group. For example, Saleperson Name. On the data row, drop down the Sort cell and choose the search order.
- Click the Layout tab
- On any empty white space in the report, right-click, and select Insert > Group Header/Footer.
- Notice GroupHeader1 appears in your report layout. This header is just an empty block until you define what data it will contain and how it will look.
- Define the GroupHeader1.
- Click GroupHeader1.
- Scroll to the bottom of the page layout, where you will find the Designer options.
- Within the Designer options, scroll to the heading Data.
- Click DataField.
- From the list beside DataField, choose the data element by which you want to sort the report. For example, Salesperson.
- Scroll back up to the top of the layout page. Now that you have defined the GroupHeader1 to contain the salesperson data, you must move that data into under the header.
From the Detail section, click and drag the data, for example. txtCUSTOMER_SalespersonName. Repeat for the Salesperson Code.
- Delete the Salesperson Code and Salesperson Name Headers.
- Finally, define the look of the new Group Header.
- Click GroupHeader1.
- Scroll back to to the bottom of the page layout, Designer options.
- Within the Designer options, scroll to the heading Appearance.
- From the list beside BackColor, choose a new background color for the group heading.
- To test the results, click Run Preview.
- Close the preview and modify the report as desired, or click Save.