Introduction to SQL Server 2000 Analysis Services: Working with the Cube Editor - Page 4

November 11, 2002

As we mentioned in Lesson One, as well as at other points, we might want to make this a more intuitive -- or at least shorter - name in order to keep a tidy appearance. A simple "rename" capability is not available, so we will have to be creative here; a right-mouse click on our new data source allows a Copy action, which will serve as a workaround for renaming the object in question.

  1. Right-click the new data source.
  2. Click Copy.
  3. Highlight the Data Sources folder.
  4. Select Paste from the popup menu.

This causes Analysis Services to indicate that a duplicate has been detected, and to prompt us for a unique name to rectify the confusion. We will respond to the new name request with MyFoodMart2000, using the dialog box that appears (as shown below in Illustration 9).

Illustration 9: Changing the Name of the Newly Copied Data Source as a Means of Renaming

  1. Type MyFoodMart2000 into the Name box of the Duplicate Name dialog.

Once we click OK, the Duplicate Name dialog acts to add the newly named data source under the data sources folder.

  1. Click OK to close the Duplicate Name dialog.

All that remains is to delete the original data source, from which we cloned MyFoodMart2.

  1. Right-click the original data source, and select Delete on the popup menu
  2. Click the Yes button, to confirm the deletion.

Our tree should now resemble that shown in Illustration 10.

Illustration 10: MyFoodMart2000 Appears in the Tree

In Lesson One, we used the Cube Wizard, together with the subsidiary specialized wizards (including the Dimension Wizard), as called by the Cube Wizard, to rapidly create a simple cube to explore the various aspects and steps of the process from a relatively high level. In this lesson, the focus is the creation of a cube "from scratch" with the Cube Editor. As we have already stated, we will create a core cube from the fact table upon which we will base the rest of the cube creation, together with the addition of several new components.

Our preparation for the lesson (and for the creation of any cube) is complete. We now have an OLAP database in place, linked to a valid data source (the FoodMart 2000 database). Next, we will initialize the Cube Editor, and begin creating our cube.

Page 5: Creating the Cube

See All Articles by Columnist William E. Pearson, III