Cube Editor - Schema

Enables you to examine and edit your cube’s structure. It appears in two views, Browse and Schema. You can switch from one view to another by clicking the Preview Cube Data button or the View Source Tables button. You can also click Data or Schema on the View menu.

The Cube editor appears when you do either of the following:

In this topic, you can read about:

Schema Pane

In the Cube editor Schema pane, you can organize the structure of a cube in a graphical display, add additional measures and shared dimensions, and create private dimensions.

The Schema pane displays the cube’s fact table with a yellow title bar and all dimension tables with blue title bars. Joins are depicted by lines connecting the key columns between the tables.

Lengthen a selected table window vertically or use the scroll bars to view all columns in the table. You can also widen the table window to view long column names.


Note Changing the structure of a cube causes the results of previous cube processing to be invalidated. After a cube’s structure has changed, you must process the cube to re-create its data.


Working in the Schema Pane

This section lists the actions that can be performed in the Schema pane. Many actions can be performed in multiple ways. For example, an action can be accomplished by a drag-and-drop procedure, or by right-clicking an object and then clicking an item on the shortcut menu.

To remove a table

To add a new table

To browse the data in a table

To create a join between two tables

To remove a join between two tables

To replace the fact table

To add a new dimension

You can add a new cube dimension from any column contained in a table.

To add a new measure

You can add a new measure from any numeric or time column contained in the fact table. Each cube must contain at least one measure.

To delete an existing measure

To switch to the Browse pane

Cube Editor Menus

Menu Option Description
File New Cube - Wizard Creates a new cube using the Cube wizard.
  New Cube - Editor Creates a new cube using the Cube editor.
  Save Saves the cube.
  Save As Saves the cube under a different name.
  Exit Closes the Cube editor.
Edit Rename Renames the selected object.
  Delete Deletes the selected object.
  Remove Join Removes all joins from the selected column.
View Schema Displays the Schema pane.
  Data Displays the Browse pane.
  Properties Expands the Properties pane.
Insert Tables Adds a table to the cube.
  Dimension - Manager Adds a dimension using the Dimension Manager.
  Dimension - New Private Adds a new private dimension.
  Level Adds a new level.
  Measure Adds a new measure.
  Calculated Member Adds a calculated member.
  Join Adds a join to the selected column.
Tools Process Cube Processes the cube.
  Design Storage Designs aggregations and storage using the Storage Design wizard.
  Count Dimension Members Counts the number of members in a dimension.
  Validate Cube Structure Verifies that the cube structure doesn’t contain invalid components that would prevent processing of the cube.
  Optimize Schema Simplifies a cube’s schema for maximum performance by removing unnecessary joins and other inefficient processes.
  Manage Roles Manages roles and users.
Help Help on Cube Editor Displays this Help topic.
  Contents and Index Opens Microsoft® SQL Server™ OLAP Services Books Online.

Toolbar

Tree View

The tree view previews the structure of the cube in a hierarchical tree. Right-click an object to see a shortcut menu for that object.

Right-click Shortcut menu option Description
Cube name New Cube Adds a new cube.
  Process Cube Processes the cube.
  Dimension Manager Opens the Dimension Manager.
  New Private Dimension Adds a new private dimension.
  New Measure Adds a new measure.
Dimensions folder Dimension Manager Opens the Dimension Manager.
  New Private Dimension Adds a new private dimension.
Dimension Dimension Manager Opens the dimension manager.
  New Private Dimension Adds a new private dimension.
  Remove Removes the dimension.
Level Dimension Manager Opens the Dimension Manager.
  New Private Dimension Adds a new private dimension.
Measures folder New Measure Adds a new measure.
Measure New Measure Adds a new measure.
  Delete Deletes the measure.
  Rename Renames the measure.
Calculated members folder New Calculated Member Adds a new calculated member.
Calculated member New Calculated Member Adds a new calculated member.
  Edit Edits the calculated member.
  Delete Deletes the calculated member.
  Rename Renames the calculated member.

Properties Pane

The Properties pane displays the properties of a selected object in the tree view. Each type of object (cube, dimension, levels, and measures) contains a different set of properties. Use the Properties pane to modify the property settings for any selected object.

To expand the Properties pane for an object in the tree view


Note The MemberKeyColumn property for a dimension level can refer to a column or to a value derived from a column, such as a formula that extracts the year value from a date-formatted column. However, the column or the value derived from the column must be a string or a number.


For more information about properties, see Properties Cross-Reference.

Working in the Cube Editor

This section lists the actions that can be performed in the Cube editor. Many actions can be performed in multiple ways. For example, an action can be accomplished either by clicking a menu item, by clicking a button on the toolbar, or by right-clicking an object and then clicking an item on the shortcut menu.

To select a different cube

To create a new cube using the Cube wizard

To create a new cube using the Cube editor

To save the current cube

To save the current cube under a different name

  1. On the File menu, click Save As.
  2. Enter a name in the Cube Name box, and then click OK.

To add a table

To access the Dimension Manager

To add a new private dimension

To remove a dimension

To add a measure

To delete a measure

To rename a measure

  1. In the tree view, right-click a measure, and then click Rename.
  2. Type the new name over the old name, and then press ENTER.

To add a calculated member

To edit a calculated member

To delete a calculated member

To process the cube

To design aggregations and storage

To count dimension members

To validate the cube structure

To optimize the cube schema

To manage roles

To view the Browse pane

To view the Properties pane

To edit the properties of an object

To close the Cube editor

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.