21
SSAS R2 and SharePoint 2010 – Business Intelligence L SERVER SQL SERVER SQL SERVER SQL SERVER ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES AN EGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INT ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING INTEGRATION SERVICES INTEGRATION SER SQL SERVER S

MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

SSAS R2 and SharePoint 2010 – Business Intelligence

SQL SERVER SQL SERVER SQL SERVER SQL SERVER ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES

INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES

ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES ANALYSIS SERVICES

DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING

DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING DATA MINING

INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES INTEGRATION SERVICES

SQL SERVER SQL SERVER SQL SERVER SQL SERVER

Page 2: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

AgendaIntroduction to OLAP

Understanding Cube Components

Building SSAS OLAP Database

Designing Dashboards ins SPS 2010

Page 3: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

About MeSlava Kokaev

v k o k a e v @ b o s t o n b i . o r gw w w. b o s t o n b i . o r g / b l o g . a s p x

Group Leader at Boston Business Intelligence User GroupPrincipal BI Developer/ Architect at Industrial Defender

Page 4: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Understanding a BI SystemSource System

ETL SystemDW System

DA System

Page 5: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Logical Cube Representation

12451576

29543007

1383

16542145

2012

645

8451082

905

275

345875

745 745

905

2012

3007

761

745

1365

1575

234

2455

988

700

645

2322

18741479

15531576 2954 3007

1455 1874445 1575

995 1945 945 1479

1164 1893 13761245

Quarter 1Quarter 2

Quarter 3 Quarter 4

Semester 1

Semester 2

Calendar Year - 2009

Australia

United States

Canada

France

Coun

try

Inte

rnet

Rese

ller

Chan

nel

Accessories

Mountain

Road

Touring

Prod

uct

Line

Page 6: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Cube Cell

Cell positions in the cube are defined by the intersection of dimension members, and the measure values are aggregated to provide the values in the cells.

Page 7: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Interacting With Analysis ServicesThere are three ways to interact with Analysis Services: SQL Server Management Studio, Business Intelligence (BI) Development Studio in project mode, and BI Development Studio in directly connected mode.

SSMSBIDS DCM BIDS

Page 8: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Understanding Cube Representation SSAS Database in SSMS SSAS Project in BIDS

SSAS Multidimensional Structure

SSAS CubeMetadata

Page 9: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Building Analysis Services OLAP Database

Create Calculations and KPI

Deploy Database to development server

Build Cube

Create Dimensions

Create Data Source View

Create Data Source

Page 10: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Data Sources Data sources are the starting point for your modeling activity within Analysis Services.

OLEDB Oracle Provider

Data Warehouse Data Source

Page 11: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Data source viewsThe data source view is an abstraction layer that is used to extend the objects (relational tables and views) that are exposed by the data source to a collection of objects from which Analysis Services objects are created.

Page 12: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Data source views

OLEDB Oracle Provider

SQL Server Provider

Source DB Source DBData Sources

Data Source View

Page 13: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Designing Cube A cube is a multidimensional structure that contains dimensions and measures. Dimensions define the structure of the cube, while measures provide the numerical values of interest to the end user. Cell positions in the cube are defined by the intersection of dimension members, and the measure values are aggregated to provide the values in the cells.

Page 14: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Data source views

OLEDB Oracle Provider

SQL Server Provider

Source DB Source DBData Sources

Data Source View

Cube

Page 15: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Designing DimensionsDimensions are a structural attribute of cubes. They are organized hierarchies of categories and (levels) that describe data in the fact table. These categories and levels describe similar sets of members upon which the user wants to base an analysis.Dimensions can also be based on OLAP data mining models. They can be used to store the results of a mining model analysis and can be browsed within the context of a virtual cube.

Page 16: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Designing DimensionsDatabase Table

DataSourceView

DatabaseDimension

DimensionHierarchy

CubeDimension

Page 17: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

HierarchiesSQL Server Analysis Services lets you create user-defined hierarchies. A hierarchy is a collection of levels based on attributes. For example, a time hierarchy might contain the Year, Quarter, Month, Week, and Day levels. In some hierarchies, each member attribute uniquely implies the member attribute above it.

Page 18: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

HierarchiesA hierarchy is a collection of logically structured levels based on attributes. In some hierarchies, each member attribute uniquely implies the member attribute above it.

Page 19: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Deploying and Processing CubeAfter making structural changes to a cube, you must process the cube before attempting to browse its data. When you process a cube, the aggregations designed for the cube are calculated and the cube is loaded with the calculated aggregations and data. Processing a cube involves reading the dimension tables to populate the levels with members from the actual data, reading the fact table, calculating specified aggregations, and storing the results in the cube. After a cube is processed, users can query it.

Page 20: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

Cube objects

CalculationsA calculation is a Multidimensional Expressions (MDX) expression or script that is used to define a calculated member, a named set, or a scoped assignment in a cube Key Performance Indicators

ActionsAction is a client command that is defined and stored on the server

PerspectivesA perspective is a read-only view of the cube

Translations, Custom assemblies, user-defined functions, and MDX scripts

Besides the dimension usage, measure groups, and partitions, the cube has other objects in it.

Page 21: MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing

ResourcesSQL Server 2008 Books Online,msdn2.microsoft.com/en-us/library/bb543165(sql.100).aspx

The Microsoft Data Warehouse Toolkit by Joy Mundy, Warren Thornthwaite, and Ralph Kimball

The Data Warehouse Lifecycle Toolkit by Ralph Kimball, et al.