Creating the Cube with the Cube Wizard

The Cube Wizard will first guide us through the selection of our fact table, which houses the measures upon which we seek to report. We will create a basic cube shell by taking the following actions:

18.  Right-click the new Cubes folder under the MyCube2 database we created above.

19.  Select New Cube from the initial shortcut menu.

20.  Click Wizard, as shown in the illustration below.

Illustration 11: Initializing the Cube Wizard

The Cube Wizard springs to life, and we see the Welcome dialog appear, as depicted in Illustration 12 below.

Illustration 12: The Cube Wizard Welcome Dialog

21.  Click Next.

The list of tables available in the MyFoodMart2 Data Source appears.

22.  Select sales_fact_1997 from the Data Sources and Tables pane on the left.

The Details pane on the right is populated with the columns of the sales_fact_1997 table, as shown below:

Illustration 13: The Details of the sales_fact_1997 Table are Displayed

23.  Click Next.

24.  Add the following measures, by double-clicking each, in the following order:

7  unit_sales

7  store_cost

7  store_sales

The selected measures fields move to the Details pane as shown below:

Illustration 14: The Details Pane Displays the Column Selection

25.  Click Next.

Page 6: Managing a Calendar Time Dimension