You are a report author at The Sample Outdoors
Company, which sells sporting equipment. You are requested to create
a report showing sales for each product line by quarter and by order
method. Since the report will have columns with data from different
dimensions, you create a discontinuous crosstab report. Discontinuous
crosstabs are also known as disconnected or disjoint crosstabs or
crosstabs with unrelated columns.
Procedure
- Open IBM® Cognos® Report Studio with the GO
Data Warehouse (query) package.
- In the Welcome dialog box, click Create
a new report or template.
- In the New dialog box, click Crosstab and
click OK.
- From the Source tab :
- Expand Sales and Marketing (query) and Sales (query).
- Expand Product and drag Product line to the Rows area.
- Expand Order method and drag Order method to the Columns area.
- Expand Sales fact and drag Revenue to the Measures area.
- On the Source tab, expand Retailer
site and drag Region to the left
of Order method.
Tip: Drop Region into
the crosstab when a flashing vertical bar appears between the Product
line column and the Order method column.
Otherwise, Region may appear as a nested row
instead of a column.
- Click Region.
- In the Properties pane, double-click
the Sorting property.
- From the Data Items pane, drag Region to
the Sort List pane.
- Click the sort order button to sort in ascending order and click OK.
- Run the report.
Results
Figure 1. Crosstab showing revenue by product line by region