You are here:

A Cross-Tab analyzes a relationship between two Data Items and creates a table which displays row and column headings based on the two Data Items selected. The body of the table is a matrix showing a calculated field based on a third Data Item which is specified in the Request. Cross Tabs are much easier to understand after you create one and see what it looks like rather than trying to read about it.

Lesson Goals: You are going to create a cross-tab report that shows average sale price of cars by make for each year between 1995 and 1999. Car makes are displayed vertically (down the rows) while year of manufacture is displayed horizontally (across the columns).


To create a Cross-Tab report:

  1. From the Request Manager, click New. The Select Type of New Request dialog box appears.
  2. Choose Cross-Tab and click OK. The Workbench window appears.
  3. Type xxxLESS5 (substituting your initials for xxx) in the Name box.
  4. Type “Average Sales Price of Makes from 1995 to 1999” for the Title.
  5. Click the Select Data Items tab.
  6. To build the Cross-tab Request, you will select an item for your Rows, then your Columns, then for each Data Cell.

    1. Drag Cars Make from the Choose From List to the Down the Rows box. The Rows on your Cross-Tab Request will reflect the make of the car.
    2. Drag Cars Year to the Across the Columns box. The Columns on your Cross-Tab Request will reflect the car year.
    3. Choose the calculation in Each Data Cell box.
    4. Choose Average in the Show the drop-down box and select Cars Sale price in the Choose Data Item list.

  7. Click the Filter Results tab.
  8. Click Add.
  9. Select Cars Year in the Data Item drop-down box.
  10. Select Between in the Relationship drop-down box.
  11. In the Values box, type the beginning and ending model years: 1994,1999. Be sure to put a comma between the beginning and ending model years.
  12. Save this filter condition by clicking on the a on the right side of the line.
  13. Click the Save icon in the Design Preview toolbar to save your Request.
  14. Click Close.
  15. Highlight the Request and click the Preview icon on the toolbar to preview the Request. As you can see, Makes are listed down the left in the rows. Years are listed across the top in the columns. And the body of the output shows the Average sales price of cars for each make for each year from 1995 through 1999.
  16. Click the X on the upper right corner of the Request Preview window to close the window.

Table of Contents