...
- Fields can be added as
- Row groups
- Column groups
- Measures.
- To add a field:
- Drag it into the crosstab
Click it in the list of fields and select an option from the context menu.
Panel You can add fields more than once (ex. you can add a field as both a measure and row group).
- Row and column groups are arranged in hierarchies. To rearrange the hierarchy:
- Drag the group headings.
- Click a heading and select a Move option from the context menu.
Use the cursor keys.
Panel Rearranging the groups may change the preview data in the editor.
- When the crosstab includes more than one row group or more than one column group
- Click the arrow in each heading cell to collapse the inner group.
Click the arrow again to expand the inner group once more.
Panel When you collapse a group, its summary is automatically displayed; this prevents invalid crosstab layouts in which there is nothing to display for some totals if the the summary has been deleted previously.
- To pivot the crosstab, click . The row and column groups will switch places.
- Measures are arranged in cells. You can add any number of measures. All the measures appear together in every cell. To rearrange the measures, you can:
- Drag them in the top-most row of cells.
- Click a measure in the top-most row and select a Move option from the context menu.
- Press the up and down arrow keys on your keyboard.
- All row and column groups are summarized automatically:
- To turn off a group summary:
- Click any heading in the group
- Select Delete Row Summary or Delete Column Summary from the context menu.
- To select the summary function and data format for a measure
- Click an instance of that measure in the top-most row
- Select from the context menu.
- The summary functions for numeric fields are:
- Maximum
- Minimum
- Average
- Sum
- Distinct Count (number of different items in the row or column)
- Count All (total number of items)
- To turn off a group summary:
- On the Crosstab tab, by default, the editor only displays a smaller, sample set of the data in your crosstab. Click to view the full set of data.
- Many of the layout and formatting options set manually in tables are set automatically in crosstabs. In particular, row and column sizes are fixed.
Ad Hoc Editor’s Standard Crosstab Layout |
Common tasks when working with Ad Hoc crosstabs include:
Component | Description |
Columns area | Drag dimensions and measures from the Data Selection panel to this area to create column groups. Drag fields to change the order of the groups. Measures must all be in the same area; you cannot have measures in the Columns and Row areas at the same time. |
Rows area | Drag dimensions and measures from the Data Selection panel to this area to create row groups. Drag fields to change the order of the groups. Measures must all be in the same area; you cannot have measures in the Columns and Row areas at the same time. |
Row and column | Displays the name of each field used for grouping. Right-click the group labels to use the context menu. When no row groups are defined, the words Row Group indicate this vertical region. |
Row and column group values | Heading cells that show the group values. When there is more than one level of grouping, use the icons on the outer groups to expand or collapse the inner groups. Right-click a group value to exclude it or to keep only that value from among all group values of the same level. |
Sorting controls | An icon beside a label shows the current sorting. Right-click a label to apply or change sorting. You can sort on multiple groups, but only one measure; sorting on a measure will reset all other measure columns to Don’t Sort. |
Measure labels | Display the name of each measure in the crosstab. Right-click the measure label to change the summary function or data format of the measure. |
Measures | Measures show an aggregated value in each cell of the crosstab, as well as row and column totals for each level of grouping. Click on a measure value to open an Ad Hoc table view in a new window showing the individual values that make up the aggregated value. |
...