Aggregating Data : Creating a summary report : Hiding details
 
Hiding details
When creating a report that contains data in detail rows and aggregate data in header or footer rows, you can change such a report to a summary report by hiding the contents in the detail rows. To hide these contents, use one of the following techniques:
*Choose the group that contains the details to hide, and in the group editor, select the Hide Detail option.
*Select the row that contains the details, and use the Visibility property to hide the contents of the row.
While both techniques provide the flexibility of maintaining two versions of a report, the first technique is more intuitive. In a report that contains more than one group, however, using the Visibility property gives you more control over which group details to hide.
Consider the example sales report that groups order data by state and product. To show only the state totals, as shown in Figure 10‑21, you choose the top-level group, state, then select the Hide Detail option, as shown in Figure 10‑22.
Figure 10‑22 Select Hide Detail to hide all data within the state group
Hiding the details from the state group recursively hides all data within the state group; the report hides product groups and the order details within each product group. You may want to hide only the product groups, but still show the order details within the product groups, however, as shown in Figure 10‑23. You can get this output only by selecting specific sections and using the Visibility property to hide the selected sections.
Figure 10‑23 Report showing the top-level state data and the order details, but not the product groups
Figure 10‑24 shows the report design that generates the output in Figure 10‑23. In the design, the following rows have their Visibility property set to hide the rows:
*Group 1 header row, which displays the column headings for the product summary data
*Group 2 header row, which displays the product summary data
Figure 10‑24 shows the group 2 header row selected in the layout editor, and the Hide Element option selected for the Visibility property in Property Editor.
Figure 10‑24 Report design with the product group row selected, and the row’s Visibility property set to hide the row