Create a Crosstab
The following sections explain how to add a Crosstab, which allows you to display aggregated data in tabular form. To create a crosstab, follow the steps below:
Watch Video: Grouping Data in a Dashboard (Add a Crosstab)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.
-
If necessary, create a new Dashboard. (See Create a New Dashboard.)
-
Drag the Crosstab element from the Toolbox panel into the Dashboard.

-
Press the ‘Edit’ button at the top-right corner of the Crosstab to open the Crosstab Editor.

-
From the Data Source panel, drag the desired columns or cube dimensions into the ‘Columns’ and ‘Rows’ regions.
The panel displays all OLAP cubes defined on the data source. 
If the Dashboard contains other Tables or Crosstabs, you can use the data in those components as the data source. Simply expand the ‘Components’ folder, and select the desired fields.
]There are two restrictions on binding a component to another component’s data:
-
This option is not available in meta-data mode. See Dashboard Options for information about meta-data mode.
-
You will not be able to filter the component using a Selection List or Range Slider. However, you can still filter the component by using a condition (see Add Conditions).
-
-
Drag the desired columns or cube measures into the ‘Aggregates’ region.

You can change the order of multiple dimensions or measures by dragging them left or right in the Editor. -
Optional: To make the row, column, and aggregate fields dynamic so that a user can change them, see Dynamically Set Properties.
If you want to use a single Form component (e.g., ComboBox) to dynamically set both the measure field and aggregation method, you can enter strings such as Ave('Total')orSum('Total')as the values in the Form element, and then use the Form element as a ‘Variable’ to set the measure in the ‘Aggregates’ panel. (See Dynamically Set Properties for information on how to do this.) With this approach, you also need to press the ‘Edit Measure’ button next to the Variable-based measure in the ‘Aggregates’ panel, and set the ‘Aggregate’ property to ‘None’. -
Optional: To hide a particular column, right-click the column in the Crosstab Editor, and select ‘Hide Column’. To show all hidden columns, right-click any column in the Crosstab Editor, and select ‘Show Columns’.
-
Optional: Specify group sorting and ranking. Follow the steps below:
-
Press the ‘Edit Measure’ button next to a measure, and select the desired method from the ‘Aggregate’ menu.
Watch Video: Grouping Data in a Dashboard (Aggregate in Crosstab)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.

To display a bivariate aggregation measure (e.g., ‘Correlation’, ‘Weighted Average’, etc.), select the second operand (column) from the ‘with’ menu. To display a univariate measure (‘Sum’, ‘Count’, etc.) as a percentage, select the basis for percentage in the ‘Percentage of’ menu. Press the ‘Apply’ button to close the panel.
If you choose a percentage representation, press the Edit button to select the dimension along which the percentage is computed (‘Rows’ or ‘Columns’). Percentage by rows uses the row totals, and by columns uses the column totals. -
Press the ‘Finish’ button to close the Editor.
-
If desired, expand the crosstab horizontally so that all of the column headers are visible.
-
Optional: Merge column headers or row headers together to agglomerate data into larger categories called named groups. For example, you can combine column header labels designating individual states MA, CT, NY, NJ, etc., into larger groups such as ‘New England’ and ‘Mid-Atlantic’. Follow the steps below:
Named groups cannot be defined for date fields. -
Optional: To display a grand total for rows or columns, select ‘Show’ for the desired ‘Row Total’ or ‘Column Total’ option in the left panel.

Proceed to format and style the Crosstab as you would for any Table. See Configure Table Appearance for more information about how to apply styles.





