Modifying a Table
This topic introduces how to modify a table.
Below is a list of the sections covered in this topic:
Editing a Table with Wizard
Once a table has been created, you can further modify it by accessing its shortcut menu wizard which is composed by a set of screens that are similar to the wizard screens used to create the table. For example, you can change the data used by the table, apply grouping, sorting criteria to the table, and so on.
- Right-click the table and select Table Wizard from the shortcut menu to display the Table Wizard.
- In the Data screen, specify a new data source for the table if required.
- Define the data displayed in the table using the Display and Group screens. Use the button to replace a current field or to add a field.
- In the Style screen, select the style you want to apply to the table.
- When done, select Finish to accept the changes.
See also:
- Inserting a Table for details about how to define a table.
- Table Wizard for page report, web report, or library component for detailed information about options in the wizard.
Aggregating on a Detail Column
You can summarize the data in a detail column if required. To do this:
- Right-click the detail column and select Aggregate On from the shortcut menu. The Aggregate On dialog appears.
- From the Aggregate Function drop-down list, specify a function to summarize the field in the detail column.
- Specify the Group By option.
- If the table has groups and you want the summary to be applied on certain group level, check Group By and select the corresponding group by field from the drop-down list below.
- If you want the summary to be applied on the whole dataset, check Group By and do not select any field from the drop-down list below.
- If you want to create a dynamic summary, keep Group By unchecked. Then the summary will be applied on every group level and the whole dataset at the same time.
- When done, select OK. Data in the detail column will be summarized based on the group by setting using the specified function.
In addition:
- For a page report that is created using query resources, a summary which is given a default name Function_DetailFieldName will be created and saved in the current catalog. You can use it in other page reports if required.
- For a report that is created using business views, a dynamic aggregation which is given a default name Function_DetailFieldName will be created and saved along with the report as a dynamic resource. You can use it in this report only.
Showing/Hiding Summary Fields
When creating or editing a summary table via the table wizard in a web report or library component, once you have placed any aggregation field on its table header/footer or group header/footer, after the table is generated the Show Summary Field command is activated on the shortcut menu of all the summary columns in the table. You can use the menu command to show or hide the aggregation fields in the header/footer rows. To do this:
- Right-click the summary column that contains the required aggregation field.
- From the Show Summary Field submenu select/deselect the corresponding table/group header/footer to show/hide the aggregation field on the specified locations.
The aggregation field will be placed in the intersection of its summary column and the table/group header/footer rows.