Free Newsletters:
DatabaseDaily  
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed


follow us on Twitter





Brocade Doubles Down on 16 Gbps Fibre Channel

Microsoft Wants iOS Apps to Run on WP7

Avaya Debuts New Virtual Services Switch
Database Journal |DBA Support |SQLCourse |SQLCourse2







Technical Specialist – Pre-sales (MA)
Next Step Systems
US-MA-Littleton

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

November 11, 2002

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

By William Pearson


Creating the Cube

The Cube Editor 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:

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

2.      Select New Cube from the initial shortcut menu.

3.      Click Editor, as shown in the illustration below.



Illustration 11: Initializing the Cube Editor


The Cube Editor appears, beginning with the Choose a Fact Table dialog, providing us with an opportunity to select a fact table for our cube, as depicted in Illustration 12 below.



Illustration 12: The Choose a Fact Table Dialog


4.      Select the Sales_Fact_1997 table.

The list of columns in the Sales_Fact_1997 table appears in the Details pane on the right half of the dialog.

5.      Click OK.

The Fact Table Row Count message box appears, asking if we want to count fact table rows, as shown below:



Illustration 13: The Fact Table Row Count Message Box


6.      Click Yes.

The Cube Editor window appears, showing the cube tree (top) and properties pane (bottom) on the left of the window, and the fact table schema (the Schema tab view) on the right, by default. The window should appear as depicted in Illustration 14 below.

We are required to select a fact table to proceed.



Illustration 14: The Cube Editor, with the Sales_Fact_1997 Table Schema View


7.      Add the following measures to the Measures folder, by dragging each from the Sales_Fact_1997 table and dropping it onto the folder, in the following order:

  • store_cost
  • store_sales
  • unit_sales

The selected measures fields appear in the Measures folder (sans underscores, which are converted to spaces; initial caps are another automatic conversion) as shown below:



Illustration 15: The Measures Folder with Newly Added Measures


Page 6: Creating the Cube (Continued)


See All Articles by Columnist William E. Pearson, III


Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 



Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Script Component: Working with BLOB 0010 4 January 27th, 03:03 PM
Will an MS SQL db table trigger affect the value returned by scope_identity? wreade 2 December 19th, 04:48 PM
BULK UPDATE error benedec 1 December 14th, 08:39 AM
Toggling problem in Matrix report ssrs 2008 dev_ritesh 0 December 2nd, 02:17 PM