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 DBA Videos
internet.com

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

News Via RSS Feed



follow us on Twitter

Marketplace Partners
Be a Marketplace Partner

internet.commerce
Be a Commerce Partner


















Mariposa Bot Shipped With Vodafone Smartphone

IT Job Market Heating Up: Report

Bing Makes Strides But Momentum Stalls

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Database Journal | DBA Support | SQLCourse | SQLCourse2







Finance Developer (IL)
Next Step Systems
US-IL-Chicago

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

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




Go to page: Prev  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  Next  

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








Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
sql maintenance plan fails database missing tbrownch 5 March 12th, 08:48 AM
Inner and outer select mussab 2 March 10th, 04:16 AM
SQL server 2008 in windows 7 pro problem theresatan 2 March 6th, 08:35 PM
code for re-build index and shrink db or file? mib 7 March 5th, 08:50 AM









The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers