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

September 10, 2002

Introduction to SQL Server 2000 Analysis Services: Working with Dimensions

By William Pearson


About the Series

This is the second article of the series, Introduction to MS SQL Server 2000 Analysis Services. As I stated in the first article, Creating Our First Cube, the primary focus of this series will be an introduction to the practical creation and manipulation of multidimensional OLAP cubes. The series is designed to provide hands-on application of the fundamentals of MS SQL Server 2000 Analysis Services ("Analysis Services"), with each installment progressively adding features designed to meet specific real-world needs. For more information on the series, as well as the hardware / software requirements to prepare for the exercises we will undertake, please see my initial article, Creating Our First Cube.


Introduction

In the first article of the series, we used the Cube Wizard to build our first cube with the assistance of the Dimension Wizard. While the Dimension Wizard is a helpful tool for rapid cube design, we often come across scenarios where we have to take more direct control of the dimension design process. We accomplish this through the use of the Dimension Editor, which exposes numerous properties of a dimension that are not accessible to us through the use of the Dimension Wizard.

Using Analysis Services, we can create our basic dimensions through the use of the wizard, or we can use the manual Dimension and Cube Editors to build our dimensions -- and indeed, our entire cube structure, from scratch. (I often do a rapid design of an overall cube "skeleton"- a "draft setup," as it were, using the Wizards - which I then return to "fine tune" with the respective Editors. Using the Dimension Editor allows us to generate much more sophisticated cubes overall and to produce OLAP data sources that help us analyze more precisely the attributes of our business that we deem to be important.

In this article we will create dimensions similar to those with which we worked before, using the Dimension Editor to illustrate options for building a more customized cube. As we will see in the steps we undertake together, once we have created our dimensions, we can set and modify various properties for optimization and other purposes.

We will begin our exploration of dimensions by creating a database similar to the one we created in Lesson One, Creating Our First Cube. Database creation is ordinarily the first step in creating a cube. We will then work with two of the three main windows of Analysis Manager, the Main Console and the Dimension Editor (the Cube Editor, being the third of the main windows, does not play a significant role in this lesson), to recreate the dimensions we created via the Wizards in our first lesson. Our example will continue with the next two lessons, Handling Time Dimensions and Parent-Child Dimensions, leading to the fifth lesson, Working with the Cube Editor. In Lesson Five we will pull together the components constructed in Lessons Two through Four, to assemble a cube similar to, but more sophisticated than, the cube we generated in the first lesson.

In this article, we will:

  • Create a new OLAP database;
  • Become familiar with the Dimension Editor by creating a single-table dimension;
  • Learn to use the Dimension Editor to manipulate dimensions, and the hierarchical levels that exist within dimensions;
  • Create Multi-table Dimensions;
  • Manipulate dimension and member properties, and discuss design and development characteristics for each.


Page 2: Setting up the Database and Data Source


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