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







Related Articles
Introduction to SQL Server 2000 Analysis Services: Creating Our First Cube
Introduction to SQL Server 2000 Analysis Services: Working with Dimensions
Introduction to SQL Server 2000 Analysis Services: Handling Time Dimensions

Senior Systems Administrator – Windows (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

August 7, 2006

Mastering Enterprise BI: Introduction to Perspectives

By William Pearson

Define a Data Source View

Having defined the Data Source within our Analysis Services Project, our next steps surround the creation of the Data Source View, a procedure that is customary at this stage in most Analysis Services Projects. The Data Source View provides a single, unified view of the metadata from the tables and views that concern us within our project.

NOTE: For more information on Data Source Views, see my article Introduction to MSSQL Server Analysis Services: Introducing Data Source Views at Database Journal.

To define a Data Source View, we will take the following steps:

1.  Right-click Data Source Views folder within the Solution Explorer.

2.  Select New Data Source View ...from the context menu that appears, as depicted in Illustration 15.


Illustration 15: Initial Step in Creating a New Data Source View

The Data Source View Wizard appears, opening with the Welcome to the Data Source View Wizard page, as shown in Illustration 16.


Illustration 16: The Initial Page of the Data Source View Wizard

3.  Click Next.

We arrive at the Select a Data Source page, where we see our Adventure Works DW Data Source in the Relational data sources list box on the left side of the page, as depicted in Illustration 17.


Illustration 17: Adventure Works DW Appears in the Relational Data Sources List

Our newly created Data Source is positioned as the default, and will serve us in meeting the objectives of our practice exercise.

4.  Click Next.

Analysis Services scans the Adventure Works DW schema, and then we arrive at the Select Tables and Views page. Here we see the various tables of the Adventure Works DW data source appear in the Available objects list box on the left of the page. We will be selecting two fact tables, to allow us to house both sales and "budget" data within our cube.

5.  Click FactInternetSales in the Available objects list to select it.

6.  Click the button marked ">" to move FactInternetSales to the Included objects list on the right half of the page.

7.  Click FactSalesQuota in the Available objects list to select it.

8.  Click the button marked ">" to move FactSalesQuota to the Included objects list on the right half of the page.

The added tables appear within the Included objects list of Select Tables and Views page as shown in Illustration 18.


Illustration 18: Table Selections for Inclusion in the Data Source View

9.  Click the newly added FactInternetSales table in the Included objects list to select it.

10.  Click the Add Related Tables button, located underneath the Included objects list.

11.  Click the newly added FactSalesQuota table in the Included objects list to select it.

12.  Click the Add Related Tables button, located underneath the Included objects list.

Several related tables appear within the Included objects list, as depicted in Illustration 19.


Illustration 19: Our Tables Selection for the Data Source View

13.  Click Next.

The Completing the Wizard page appears, as shown in Illustration 20.


Illustration 20: The Final Page of the Data Source View Wizard

As indicated in the Completing the Wizard page, our selection includes the following tables:

  • FactInternetSales
  • FactSalesQuota
  • DimProduct
  • DimCurrency
  • DimTime
  • FactInternetSalesReason
  • DimSalesTerritory
  • DimPromotion
  • DimCustomer
  • DimEmployee

14.  Click Finish to create the new Data Source View, and to dismiss the Data Source View Wizard.

Our new Data Source View, Adventure Works DW, appears in the Data Source Views folder within the Solution Explorer window, as depicted in Illustration 21.


Illustration 21: The New Data Source View in the Solution Explorer

The Data Source View is also presented within the Data Source View Designer, which opens simultaneously with the Data Source View. The contents of the Designer appear within Business Intelligence Development Studio, as shown in Illustration 22.


Illustration 22: The New Data Source View in the Data Source View Designer

One of several designers within the Studio, the Data Source View Designer for our new Data Source View contains numerous elements that aid us in our organization and design efforts. We can modify the composition of the tables that comprise our view, as well as performing other activities, here.

We will next create a cube based upon the Data Source and Data Source View we have assembled. As a part of this process, we will also set up, and at least partially align, Measure Groups.



Go to page: Prev  1  2  3  4  5  6  7  8  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
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
sql maintenance plan fails database missing tbrownch 3 February 24th, 08:53 AM









The Network for Technology Professionals

Search:

About Internet.com

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