Download - Developing ssas cube
Designing and developing OLAP Cubes and Multidimensional structures
About MeSlava Kokaev – Lead business Intelligence Architect
at Industrial DefenderBoston BI USER GROUP leader
email: vkokaev@bosto
nbi.orgweb:
www.bostonbi.org/blogstwitter:
@SlavaKokaev
Agenda
Introduction to OLAP
Understanding Cube Components
Building SSAS OLAP Database
Designing Dashboards ins SPS 2010
Analysis SystemMultidimensional databases are also called online analytical processing (OLAP) databases and…Contain structures optimized for rapid ad hoc information retrievalPre-calculate and store aggregated valuesInclude calculation engines for fast, flexible transformation of base dataDesigned to reveal business trends and statistics not directly visible in the data retrieved from a data warehouseData mining models discover patterns in data, typically for prediction analysis
ProductAssociation
Sales FinanceProduction
VT
COM
A
TXSt
ate
Understanding Cube Structure
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
Accessories
Bikes
Clothing
Components
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.
Building Analysis Services OLAP Database
Create Calculations and KPI
Deploy Database to development server
Build Cube
Create Measures
Create Dimensions
Create Data Source View
Create Data Source
Interacting With Analysis Services
There 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
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.
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.
Designing DimensionsDatabase Table
DataSourceView
DatabaseDimension
DimensionHierarchy
CubeDimension
Product Hierarchies
HierarchiesA dimension hierarchy is a collection of logically structured levels based on attributes.
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.