# Configuring the Cross Tab component

This topic describes how to configure the Cross Tab component.

To configure the Cross Tab component:

1. After adding a Cross Tab component to a page, click its .... button and then click Preferences.
2. In the Cross Tab edit view, select from the available data sources in the drop-down list, and then click Update data source to bind your selection to the component.

3. In the Analytics Statement field, enter an Analytics statement to return cross-tab values. Note that using fields with too many values in your GROUP BY clauses may cause your Cross Tab results table to become too large to be useful.

4. In the Cell Limit field, set a threshold to prevent too large a grid from being rendered on the Cross Tab page. In general, you should not make this value, which represents the number of cells rendered in the Cross Tab results table, much larger than the default. A table with many thousands of cells is time-consuming to render and difficult for the end user to read.
5. If desired, check the Respect data source query state box. When this box is checked, the Cross Tab component is dependent on its data source query state, which means the metric values should update when the data source query state changes. When the box is unchecked, it is independent of the data source query state, so the metric values should remain constant regardless of the data source query state.
6. Click the Test analytics query button to validate the Analytics statement before loading the metrics into the component. You are required to test the Analytics statement before loading the statement into the component. If the Analytics statement is valid, the Save button is enabled.
7. After you test and debug your Analytics query, click the Save button.

When you save, the Configuration section is populated with metric, row, and column information. If you wish, you can further configure the Configuration elements.