Formatting a table
You can format a table by changing column labels, sorting, and sizing. You can also change data format and the level of detail displayed.
Procedure
- To add a title to a table, click Click to add a title and enter a title.
-
Edit a column header or label.
- In the Ad Hoc view pane, right-click the column or group header you want to rename and select Edit Label.
- Delete the existing name and enter a new name.
-
Resize a column.
- In the Ad Hoc view pane, select the column to resize.
- Move the cursor to the right edge of the column, click and drag the column to a new position.
-
Add spacing between columns.
- In the Data Source Selection pane in the Measures section, click Spacer.
- Drag the spacer into the Columns box in the Layout Band between the names of the two columns you want to add the spacer to. Repeat until the margins are as wide as needed.
-
Create table margins.
- In the Data Source Selection pane, click to select Spacer.
- Drag the spacer into the Columns box in the Layout Band, and repeat until the margins are as wide as needed.
- Add spacers to the right edge of the table.
- To reorder a column, in the Ad Hoc view pane, right-click the column to move and select Move Right or Move Left.
-
Sort a table.
-
Click
to open the Sort window.
If the table is already sorted, the window shows the fields that are used. - To add a field to sort on, double-click the field in Available Fields.
-
Select one or more fields to sort by.
Use the Ctrl key to select multiple fields.
-
To arrange the sorting precedence of the fields, select each field in the
Sort window and click
,
,
, or
.
- Click OK.
-
Click
-
Change the data format for a column.
- In the Ad Hoc view pane, right-click the column and select Change Data Format.
-
Select the format that you want to use.
Options vary, depending on the type of numeric data contained in the column.
- To reorder a column, in the Ad Hoc view pane, right-click the column to move and select Move Right or Move Left.
-
To show or hide detail rows, place the cursor over
and select Hide Detail Rows or Show Details
Rows.
A summary is applied to each field dependent on its data type, or the complete information for the row is displayed.
-
To control the data set in the grid, click
.
- Detailed Data. Displays table detail only.
- Totals Data. Displays the table totals only.
- Details and Totals. Displays both details and totals data.