We will add dimensions next.
Add the following dimensions to
the Dimensions folder, by dragging each from the expense_fact table onto the folder, in the following order:
The selected dimension
key fields appear in the Dimensions folder (sans underscores, and with
initial caps, once again) as shown below:
16: The Dimensions Folder with Newly
The dimensions that we
have added are private dimensions, meaning that they belong to this cube
only. Now let's make some adjustments to the measure and dimension properties,
to make them more useful to our model, as well as to refresh our memories, in
some cases, of member properties attributes.
Click the Time Id dimension to
select it in the cube tree.
Click Properties beneath the
tree pane to display the properties of the Time Id dimension.
Click the Basic tab in the Properties
Rename the dimension to Calendar.Time.
The Basic tab of
the Properties pane for the Calendar.Time dimension appears as
17: Calendar.Time Dimension, Properties Pane, Basic Tab
Click the Time Id level underneath
the Calendar.Time dimension to select it in the cube tree.
Ensure the Basic tab in the Properties
pane is selected.
Rename the level to Calendar
Time (note that the delimiter "." is not allowed here).
The Basic tab of
the Properties pane for the single Time level appears as shown
18: Time Level, Properties Pane,
Click the Calendar.Time dimension
again, to select it in the cube tree.
Click the Advanced tab in the Properties
Modify the All Caption to read All
The Advanced tab
of the Properties pane for the Calendar.Time dimension appears as
19: Calendar.Time Dimension,
Properties Pane, Advanced Tab
Complete steps 9 through 18
above, for each of the other two dimensions, Store Id, and Category Id, to
rename the dimensions (and their associated single underlying levels) to Store
and Category, respectively, on the associated Properties panes, Basic
Modify the All Caption fields, on
the Advanced tab in the Properties panes for Store and Category, to read All
Stores, and All Categories, respectively.
At this juncture, the cube
tree should appear as shown below:
Illustration 20: Cube
Tree, Reflecting Modifications of the Dimensions (and Associated Levels) Names
Keep in mind that the
dimensions we have defined are, again, private dimensions.
Because private dimensions (and the associated dimension levels) are defined
for the individual cube, they are created / modified, as we have seen above,
using the Cube Editor. We must be "inside" the cube with the Editor to readily
see the private dimensions exposed in the cube tree.
We will process the cube at this stage.