
Crosstab Report Wizard
This wizard appears when you select Crosstab Report in the New Report dialog or New Report Set dialog and then click OK. It helps you to create report with a crosstab in it, and consists of the following screens:
Back
Goes back to the previous screen.
Next
Goes to the next screen.
Finish
Finishes creating the crosstab report and closes this wizard.
Cancel
Does not retain changes and closes this wizard.
Help
Displays this help document.
Data screen
Specifies the dataset that you want to use to create the crosstab. See the screen.
Define a dataset for the object
Specifies the dataset on which the crosstab will be built.
- New
If checked, select a data source from the catalog resources to create a dataset that will be used to build the crosstab. When you choose to create the dataset from a query, you can click the Modify button to edit the query in the Query Editor if required.
- Existing
If checked, select a dataset from the ones existing in the opened report set to create the crosstab. Click the Modify button to edit the dataset in the Dataset Editor if required.
Display screen
Specifies the fields that you want to display in the crosstab. See the screen.
Resources
Lists all the available data resources.

Adds the selected field to be displayed on the columns of the crosstab.

Adds the selected field to be displayed on the rows of the crosstab.

Adds the selected field on which to create summaries.
Columns/Rows
- Field
Lists the fields that will be displayed on the columns/rows of the crosstab.
- Label
Lists the display names for the selected fields. You can double-click the name cells to edit them if required.
- Color
Specifies the background color of the selected fields.
Summaries
- Field
Lists the fields that you select to create summaries.
- Aggregate
Specifies the functions used to summarize data of the selected fields.
- Label
Lists the display names for the selected fields. You can double-click the name cells to edit them if required.
- Comparison Function
Opens the Comparison Function dialog to add a comparison function as an aggregate for the crosstab.

Specifies in which manner to sort the field values.

Moves the specified field one step up.

Moves the specified field one step down.

Removes the specified field that is not required in the crosstab.
Filter screen
Specifies to filter data displayed in the crosstab. See the screen.
Add Condition
Adds a new condition line.
Delete
Deletes the selected condition line.
Group
Makes the selected conditions in one group. Conditions can also be added to an existing group by selecting the conditions and the group while holding the Ctrl button, and then clicking the Group button.
Ungroup
Makes the selected condition ungrouped.
Up
Moves the selected condition up to a higher level.
Down
Moves the selected condition or group down to a lower level.
Logic
Lists the logic operator.
- And
Logic operator And which is applied to this and the next line.
- Or
Logic operator Or which is applied to this and the next line.
- And Not
Logic operator And Not which is applied to this and the next line.
- Or Not
Logic operator Or Not which is applied to this and the next line.
Field
Specifies the field to be filtered.
Operator
Specifies the operator to compose the filter expression.
- =
Equal to
- >=
Greater than or equal to
- >
Greater than
- <
Less than
- <=
Less than or equal to
- !=
Not equal to
- [not] like
Like string pattern matching operator is used to compare the first expression string value to the pattern string (the second expression). If you want to use wildcard character in the pattern string, only "_" and "%" are supported.
- [not] in
Causes an enumerated list of values to appear in the WHERE clause predicate, used for evaluating for a true condition. For operator ‘in' or ‘not in', it is allowed to input multiple values in the Value input box and separate the values with comma (,).
- [not] between
Allows the system to evaluate whether or not data values are located between a range of values indicated in the predicate. For operator ‘between' or ‘not between', there are two value input boxes for inputting the same type of values.
- is [not] null
It is used in WHERE clause predicates to match null values occurring in a specified data field. For operator ‘is null' or ‘is not null', the value input box is hidden.
Value
Specifies the value of how to filter the field.
SQL Statement
Displays the SQL statement of the filter condition.
Layout screen
Specifies the layout of the crosstab. See the screen.
Vertical Layout
If selected, the aggregate layout will be set vertically.
- Number of Row(s)
Specifies the number of rows to be displayed in a crosstab. By default, it is -1, which means that there is only one column with which to arrange the aggregate fields vertically; if it is set to 1, that means there will be only one row to arrange the aggregate fields horizontally; if it is set to a number larger than 1, that means there will be this number of aggregate rows; if this number is larger than the number of aggregate fields in the crosstab, it will be treated as -1.
Horizontal Layout
If selected, the aggregate layout will be set horizontally.
- Number of Column (s)
Specifies the number of columns to be displayed in a column. By default, it is -1, which means that there is only one row with which to arrange the aggregate fields horizontally; if it is set to 1, that means there will be only one column to arrange the aggregate fields vertically; if it is set to a number larger than 1, that means there will be this number of aggregate rows; if this number is larger than the number of aggregate fields in the crosstab, it will be treated as -1.
Repeat Aggregate
Assume that you have created a crosstab on the query WorldWideSales in the catalog file SampleReports.cat as follows: added Products_Product Type ID as the column field, added Customers_Country as the row field, added Quantity and Discount as the aggregate fields and specified the functions as Sum, and applied the style Classic to the crosstab.
- If checked, one cell will contain only one aggregate field value, while for the other aggregate field(s), the crosstab will repeat. The crosstab will be shown as below:

- If unchecked, one crosstab cell accommodates the values of all aggregate fields. The crosstab will be shown as below:

Outside Aggregate Title
Specifies whether or not to put the aggregate display name(s) outer of the crosstab.
Suppress Row Grand Totals
Specifies whether or not to show the grand totals of rows.
Suppress Column Grand Totals
Specifies whether or not to show the grand totals of columns.
Suppress Row Subtotal
Specifies whether or not to show the subtotals of rows.
Suppress Column Subtotal
Specifies whether or not to show the subtotals of columns.
Note: The settings of the above four options will only take effect in view mode.
Repeat Column Header
Specifies whether or not the header of column will be appeared on every page, if a crosstab spans more than one page.
Table Style
Specifies whether or not to make the crosstab look like a table.
Column Total on
Specifies the position of total columns on the top or bottom of the aggregate.
Row Total on
Specifies the position of total rows on the left or right of the aggregate.
Preview
Displays a preview of the selected layout.
Style screen
Specifies the style of the crosstab. See the screen.
Style
Specifies the style of the crosstab report.
Preview
Shows a sketch of the selected style.
Page Setup
Opens the Page Setup dialog to specify page properties.
Related topics:
