Upload
slava-kokaev
View
8
Download
4
Embed Size (px)
DESCRIPTION
Citation preview
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
AgendaIntroduction to OLAP
Understanding Cube Components
Building SSAS OLAP Database
Designing Dashboards ins SPS 2010
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
Understanding a BI SystemSource System
ETL SystemDW System
DA System
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
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.
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
Understanding Cube Representation SSAS Database in SSMS SSAS Project in BIDS
SSAS Multidimensional Structure
SSAS CubeMetadata
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
Data Sources Data sources are the starting point for your modeling activity within Analysis Services.
OLEDB Oracle Provider
Data Warehouse Data Source
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.
Data source views
OLEDB Oracle Provider
SQL Server Provider
Source DB Source DBData Sources
Data Source View
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.
Data source views
OLEDB Oracle Provider
SQL Server Provider
Source DB Source DBData Sources
Data Source View
Cube
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.
Designing DimensionsDatabase Table
DataSourceView
DatabaseDimension
DimensionHierarchy
CubeDimension
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.
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.
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.
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.
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.