SlideShare une entreprise Scribd logo
1  sur  41
SQL Server 2008 R2

Understanding SQL Server Analysis
            Services

                                    http://techmaster.vn
SQL Server 2008 R2 BI Technologies




                                 http://techmaster.vn
SQL Server 2008 R2 BI Technologies




                                 http://techmaster.vn
Contents
• Understand the Analysis Services 2008 R2
• Understand the OLAP and OLAP database
• Understand the dimensional OLAP
• Understand the multidimensional data
  analysis
• Understand dimensional data warehouse
                                         http://techmaster.vn
SQL Server 2008 R2 BI Structure
                                         Reporting and Visualization Tools (Dashboard, KPI,
      Presentation Layer
                                                           Scorecard,…)


                                               Turn data into information (analysis)
        Analytical Layer
                                                Multidimensional OLAP Database



Data Storage and Retrieval Layer                    Data Warehouse in RDBMS


                                           1. Extract the data from the multiple sources
  Data Transformation Layer                      2. Modify the data to consistent
                                             3. Load the data into Data Storage system


       Data Source Layer           Text, MS Excel, MS Access, MS SQL, Oracle,…| External Sources


                                                                                       http://techmaster.vn
Microsoft Business Intelligence Platform

   Analytic                              Scorecards, Analytics, Planning
   Applications                            (PerformancePoint Service)

                                                       Portal
                                                    (SharePoint)
   Data Delivery        Report Builder             End-user Analysis
                            SSRS                        (Excel)


                          Integrate                     Analyze                   Report
                    (SQL Integration Services)    (SQL Analysis Services)   (SQL Reporting Services)
   Infrastructure
   Platform                                 Data Warehouse, Data Marts,
                                                  Operational Data
                                                (SQL Server 2008 R2)

          Office         SQL
                                                                                                       http://techmaster.vn
Analysis Challenges
How Do You Deal With:


      Data stored in                 The cost of developing              The costs of
   multiple data sources              analytical solutions            learning new tools




                           Deploy for today’s
                           problem but scale           ‘Real-Time’ data
                               over time                    access




     Multiple Users,                    Diverse analytical                Inconsistent data
     Multiple Tools                           needs




                                                                                              http://techmaster.vn
Analysis Services 2008 R2
   Design Scalable Solutions
       Productivity enhancing designers
       Scalable Infrastructure
       Superior Performance

   Extend Beyond OLAP
       Unified meta data model
       Central KPI manageability
       Predictive Analysis

   Deliver Pervasive Insight
       Optimized Office interoperability
       Rich partner extensibility
       Open, embeddable architecture
                                           http://techmaster.vn
Design Scalable Solutions
           Productivity Enhancing Designers
             Optimized design experience
             Best Practice Design Alerts
             Project Lifecycle support

           Scalable Infrastructure
             Heterogeneous data Integration
             Robust Scale-Out Configuration
             Advanced Resource Monitoring
             User-differentiated perspectives

           Superior Performance
             Market leading MOLAP Engine
             Near real-time data access
             Subspace computation optimization
             MOLAP enabled write-back



                                                 http://techmaster.vn
Extend Beyond OLAP
       Unified Metadata Model
         One consolidated business view
         Integrated relational & OLAP analysis
         Business information modeling
         Time- and financial intelligence

       Central KPI Manageability
         Server based KPI framework
         Centrally managed repository
         Pervasive end-user accessibility

       Predictive Analytics
         Complete data mining framework
         Embeddable viewers
         Predictive capabilities available to
         everyone through Microsoft Office

                                                 http://techmaster.vn
Predictive Analysis
Bring Data Mining to the Masses through Microsoft Office


                                                      Enable easy to use predictive
                                                      analysis
                                                         At every desktop
                                                         For every information worker
                                                      Through three powerful add-ins
                                                      to Microsoft Office
                                                         Predictive capabilities readily
                                                         available for business users in Excel
                                                         Data mining client for building data
                                                         mining models in Excel
                                                         Data mining templates for project
                                                         visualization in Visio


                     “What Microsoft has done is to make data mining available on the desktop to
                     everyone” (David Norris, Associate Analyst, Bloor Research).
                                                                                                   http://techmaster.vn
Deliver Pervasive Insight
           Optimized Office Interoperability
             Massive data analysis for everyone with
             PowerPivot for Excel 2010
             Team Collaboration through PowerPivot for
             SharePoint 2010
             Corporate performance management
             through PerformancePoint Services 2010

           Rich Partner Ecosystem Extensibility
              Vertically specialized solutions
              Packaged applications
              API support from all major BI vendors

           Open, embeddable architecture
             Open API’s and XML/A based protocols
             Native web service functionality
             Close loop analysis


                                                         http://techmaster.vn
Office 2010 Integration
          Excel 2010
            Great cross product investments optimizing
            Excel 2010 as analytical client for Analysis
            Services
            Enhancements around local cubes
            Significant performance and functionality
            investments
            Data Mining Add-Ins for predictive analysis
            PowerPivot for massive data analysis on
            the desktop

          PerformancePoint Services 2010
            Great cross product investments for thin
            analytic client for Analysis Services
            Rich web capabilities for data exploration.
            Guided and contextual analysis through
            integrated dashboards
            Predictive analytics by integrating with SQL
            Server Data Mining
                                                       http://techmaster.vn
Understanding SQL Server Analysis Services

UNDERSTANDING OLAP

                                             http://techmaster.vn
What is OLAP


                     Online Analytical      • Benefits
                        Processing
                                              – Consistently fast response
Online Transaction
    Processing       1993.                    – Metadata-based queries
               1985. OLAP                     – Spreadsheet-style formulas
               OLTP

                                                                        http://techmaster.vn
Consistently Fast Response
• Calculating and storing aggregate values and
  the results of formulas when a cube is loaded
  (calculation in advance)
• Aggregate tables can be created to provide
  fast query results



                                         http://techmaster.vn
Metadata-Based Queries
                        SQL Query
• SQL is suitable for   SELECT
  transaction system    [Store].[Store Country].[Canada].[Vancouver]
                        ON COLUMNS,
  not for reporting     [Product].[All Products].[Clothing].[Mittens]
  applications          ON ROWS
                        FROM [Sales]

• Query language for    WHERE ([Measures].[Unit Sales],
                        [Date].[2010].[February])
  OLAP data source      MDX Query

   – Multidimensional   SELECT SUM(Sales.[Unit Sales])

     expression
                        FROM (Sales INNER JOIN Stores
                        ON Sales.StoreID = Stores.StoreID)
                        INNER JOIN Products
   – MDX                ON Sales.ProductID = Products.ProductID
                        WHERE Stores.StoreCity = 'Vancouver'
                        AND Products.ProductName = 'Mittens'
                        AND Sales.SaleDate BETWEEN '01-02-2010' AND
                        '28-02-2010'
                                                             http://techmaster.vn
Spreadsheet-Style Formulas
• MDX formulas use named references
   – C14/D14 (Spreadsheet) | [Actual]/[Budget] (MDX)
• MDX formulas are easy to manage
• MDX formulas are multidimensional
   – Spreadsheet is two dimensional
• MDX formulas take advantage of metadata (its
  relationship)
   – There is no relationship in cells on the sheet.

                                                       http://techmaster.vn
Understanding SQL Server Analysis Services

MULTIDIMENSIONAL DATA ANALYSIS


                                             http://techmaster.vn
Measure and Metadata
• Measure: A summarizable numerical value
  – Sales Dollars, Shipment Units,...
• Metadata: Data about data
  – Label, Order by,...
                                                      Metadata


                              Units Sold
  70                          70
                                                             Measure
  Adventure Works Sales       Adventure Works Sales

                                                                   http://techmaster.vn
Unit sold by Product and Month report

Product                   Jan 2011   Feb 2011   Mar 2011   Apr 2011
Mountain-500 Black, 40       1          3          1          2
Mountain-500 Black, 44                  2                     1
Mountain-500 Black, 48                  1          2          1
Mountain-500 Silver, 40                 1          2          1
Mountain-500 Silver, 44                 1          1          1
Mountain-500 Silver, 48      2
Road-750 Black, 44                                10          7
Road-750 Black, 48                                 5          9
Hitch Rack                   1          6          6          3



                                                             http://techmaster.vn
Grouping/Aggregating/Attribute/Member
                                                          •   Grouping – Aggregating: is the
Product                    Model          Color    Size       way humans deal with too much
Mountain-500 Black, 40    Mountain-       Black    40         detail
                            500
Mountain-500 Black, 44    Mountain-       Black    44          – Ex: group Products by model,
                            500                                  subcategory, and category groups

                                                              Attribute: Product (Key), Model,
Mountain-500 Black, 48    Mountain-       Black    48
                            500                           •
Mountain-500 Silver, 40   Mountain-       Silver   40
                                                              Color, Size
                            500
Mountain-500 Silver, 44   Mountain-       Silver   44
                                                          •   Member
                            500
                                                               – Model, Mountain-500, Road-
Mountain-500 Silver, 48   Mountain-       Silver   48
                                                                 750…
                            500
Road-750 Black, 44        Road-750        Black    44          – Color: Black, Silver
Road-750 Black, 48        Road-750        Black    48
Hitch Rack                Hitch Rack                           – Size: 40, 44, 48
                                     Product Attributes
                                                                                         http://techmaster.vn
Hierarchy: Model  Product

                               Jan 2011   Feb 2011   Mar 2011   Apr 2011
Mountain-500                      3          8          6          6
     Mountain-500 Black, 40       1           3         1           2
     Mountain-500 Black, 44                   2                     1
     Mountain-500 Black, 48                   1         2           1
     Mountain-500 Silver, 40                  1         2           1
     Mountain-500 Silver, 44                  1         1           1
     Mountain-500 Silver, 48      2
Road-750                                               15         16
     Road-750 Black, 44                                10          7
     Road-750 Black, 48                                 5          9
Hitch Rack                        1          6         6          3
     Hitch Rack                   1          6          6          3
Units Sold by Model, Product and Month

                                                                           http://techmaster.vn
Hierarchy
• Hierarchy is created by
  arranging related
  attributes into levels

• Hierarchy level: 2, 3,…n

• Hierarchy type:
   – Balance (Date)

   – Unbalance
     (Organization)



                                     http://techmaster.vn
Dimensions
              Jan    Feb      Mar         Apr
             2011   2011      2011       2011
Mountain-     3       8         6          6
500
Road-750                        15        16
Hitch Rack    1       6          6         3
                    Units Sold by Model and Month

• Attribute:
   – Model (3)
   – Month (4)
• Potential number of values: 12 = 3x4

                                                    http://techmaster.vn
Dimensions
                      Jan 2011         Feb 2011         Mar 2011         Apr 2011
                Units            $   Units     $      Units     $      Units        $
WA Hitch Rack                         4      $480      3      $360      2         $240
    Mountain-     2        $1.105     6      $3.256    5      $2.775    5        $2.750
    500
    Road-750                                           9      $4.860    10       $5.400
OR Hitch Rack                         2      $240      3      $360      1         $120
    Mountain-     1         $120      2      $1.105    1      $540      1         $540
    500
    Road-750      1         $565                       6      $3.240    6        $3.240

• Attribute:
  – State (2), Model (3), Month (4), Measure (2: Units sold, Sales dollars)
• Potential number of values: 2x3x4x2 = 48
                                                                               http://techmaster.vn
Dimensions
• Examples:
  – State attribute belongs to the Geography
    dimension
  – Model attribute belongs to the Product
    dimension
  – Month attribute belongs to the Date dimension
  – Units sold and Sale Dollars belongs to the
    Measure dimension
                                                 http://techmaster.vn
Dimensions
• The independent attributes and hierarchies are the
  dimension
• A dimension may contain more than one attributes
  – Ex: Product dimension contain Color and Size attribute
• Dimension also contain hierarchies
  – Ex: Product by Model hierarchy is composed of attributes
    contained in the Product dimension, so the hierarchy also
    belongs in the Product dimension
• Measure dimension are displayed on columns
                                                     http://techmaster.vn
Understanding SQL Server Analysis Services

DIMENSIONAL DATA WAREHOUSE

                                             http://techmaster.vn
Dimension Data Warehouse
• Dimension Data Warehouse is the data
  storage and retrieval layer of BI system
• In dimension data warehouse:
  – Dimension are stored in dimension tables
  – Measure are called facts and are stored in fact
    tables

                                               http://techmaster.vn
Fact Table
• Fact table: table that stores the detailed values for measures
• Key Column: State, Product, Month
• Fact Column: UnitsSold, SalesDollars

 State Product                   Month      UnitsSol SalesDollar
                                               d          s
 OR    Hitch Rack                Jan 2011      1       $120.00
 OR    Mountain-500 Silver, 40   Jan 2011      1       $565.00
 OR    Mountain-500 Silver, 48   Jan 2011      1       $552.50
 WA    Mountain-500 Silver, 48   Jan 2011      1       $552.50
 OR    Hitch Rack                Feb 2011      2       $240.00
 WA    Hitch Rack                Feb 2011      4       $480.00
                                                   FactSales table
                                                                     http://techmaster.vn
Fact Table
• The value in the key columns relate the facts
  in the fact table row to a row in each
  dimension table
• Fact table may have other type of column for
  reference purposes
• Fact table might contain one or more
  measure columns
                                          http://techmaster.vn
Fact Table
• The level of detail stored in a fact table is
  called granularity
• The dimensions that a fact table is related to
  is called dimensionality of the fact table
• Facts that have different granularity of
  different dimensionality must be stored in
  separate fact tables
                                             http://techmaster.vn
Fact table: Dimension key
• Actually a fact table almost
  always uses an integer, called
  a dimension key, for each        State Product   Month    UnitsSold SalesDollars
  dimension member                  1      483     201101       1           120.00
                                    1      591     201101       1           565.00
• There must be a dimension         1      594     201101       1           552.50
  table for each dimension key      2      594     201101       1           552.50
  in a fact table                   1      483     201102       2           240.00
                                    2      483     201102       4           480.00

                                                   FactSales table using Dimension key




                                                                      http://techmaster.vn
Dimension Table
• A dimension table contain one row
  for each member of the key
  attribute of the dimension           ProductKey Product
                                          596     Mountain-500 Black, 40
• The key attribute has two column:       598     Mountain-500 Black, 44
                                          599     Mountain-500 Black, 48
   – Integer dimension key (PK)
                                          591     Mountain-500 Silver, 40
   – Attribute label                      593     Mountain-500 Silver, 44
                                          594     Mountain-500 Silver, 48
• A dimension table may contain           604     Road-750 Black, 44
  other columns for other attributes      605     Road-750 Black, 48
  of the dimension                        483     Hitch Rack

                                                DimProduct Dimension Table

                                                               http://techmaster.vn
Dimension table
ProductKey Product                   SubCategory      Category       Color Size
   596     Mountain-500 Black, 40    Mountain Bikes   Bikes          Black    40
   598     Mountain-500 Black, 44    Mountain Bikes   Bikes          Black    44
   599     Mountain-500 Black, 48    Mountain Bikes   Bikes          Black    48
   591     Mountain-500 Silver, 40   Mountain Bikes   Bikes          Silver   40
   593     Mountain-500 Silver, 44   Mountain Bikes   Bikes          Silver   44
   594     Mountain-500 Silver, 48   Mountain Bikes   Bikes          Silver   48
   604     Road-750 Black, 44        Road Bikes       Bikes          Black    44
   605     Road-750 Black, 48        Road Bikes       Bikes          Black    48
   483     Hitch Rack                Bike Racks       Accessories
                                                         DimProduct Dimension Table
                                                                          http://techmaster.vn
Aggregatable and Aggregate
• Aggregatable: Attributes that can be used to create groups
• Non aggregatable attributes are referred to as member
  properties
   – Ex: List Price, Telephone Number, Street Address…
• Aggregate: Summary value in the group of aggregatable
• Example:
   – Aggregatable: Category, Color…
   – Aggregate: Number of Units Sold for each Category

                                                         http://techmaster.vn
Understanding SQL Server Analysis Services

MULTIDIMENSIONAL OLAP

                                             http://techmaster.vn
Multidimensional OLAP
• Multidimensional OLAP database resides
  between the data storage and retrieval layer
  and the presentation layer
• It converts the relation data warehouse data
  into a fully implemented dimensional model
  for creating analytical reports and data
  visualizations
                                         http://techmaster.vn
Measure Group and Cube
• Measure group corresponds to a single fact table

• Measure group may contains data for single level of detail and
  aggregated data for all higher levels of detail

• Cube: Combination of several related measure groups and a
  set of dimensions
                      State Product    Date Units Sold Sales Amount
                      All   All        All  70         31.305
                      WA    All        All  46         21.235
                      WA    Bikes      All   37        20.115
                      WA    Road Bikes All   19        10.260

                                                            http://techmaster.vn
Understanding SQL Server Analysis Service

DEMO

                                            http://techmaster.vn

Contenu connexe

Tendances

Samuel Bayeta
Samuel BayetaSamuel Bayeta
Samuel Bayeta
Sam B
 
Microsoft master data services mds overview
Microsoft master data services mds overviewMicrosoft master data services mds overview
Microsoft master data services mds overview
Eugene Zozulya
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
pcherukumalla
 
Master Data Services - 2016 - Huntington Beach
Master Data Services - 2016 - Huntington BeachMaster Data Services - 2016 - Huntington Beach
Master Data Services - 2016 - Huntington Beach
Jeff Prom
 
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Microsoft TechNet
 
IOUG93 - Technical Architecture for the Data Warehouse - Presentation
IOUG93 - Technical Architecture for the Data Warehouse - PresentationIOUG93 - Technical Architecture for the Data Warehouse - Presentation
IOUG93 - Technical Architecture for the Data Warehouse - Presentation
David Walker
 
Data warehouse 101-fundamentals-
Data warehouse 101-fundamentals-Data warehouse 101-fundamentals-
Data warehouse 101-fundamentals-
AshishGuleria
 

Tendances (20)

Samuel Bayeta
Samuel BayetaSamuel Bayeta
Samuel Bayeta
 
Microsoft master data services mds overview
Microsoft master data services mds overviewMicrosoft master data services mds overview
Microsoft master data services mds overview
 
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
Roland bouman modern_data_warehouse_architectures_data_vault_and_anchor_model...
 
Building a Big Data Solution
Building a Big Data SolutionBuilding a Big Data Solution
Building a Big Data Solution
 
Creating a Tabular Model Using SQL Server 2012 Analysis Services
Creating a Tabular Model Using SQL Server 2012 Analysis ServicesCreating a Tabular Model Using SQL Server 2012 Analysis Services
Creating a Tabular Model Using SQL Server 2012 Analysis Services
 
Data warehouse architecture
Data warehouse architectureData warehouse architecture
Data warehouse architecture
 
MDS & SQL 2012
MDS & SQL 2012MDS & SQL 2012
MDS & SQL 2012
 
A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...A Crash Course in SQL Server Administration for Reluctant Database Administra...
A Crash Course in SQL Server Administration for Reluctant Database Administra...
 
Master Data Services - 2016 - Huntington Beach
Master Data Services - 2016 - Huntington BeachMaster Data Services - 2016 - Huntington Beach
Master Data Services - 2016 - Huntington Beach
 
SQL Server 2008 New Features
SQL Server 2008 New FeaturesSQL Server 2008 New Features
SQL Server 2008 New Features
 
Enabling Data as a Service with the JBoss Enterprise Data Services Platform
Enabling Data as a Service with the JBoss Enterprise Data Services PlatformEnabling Data as a Service with the JBoss Enterprise Data Services Platform
Enabling Data as a Service with the JBoss Enterprise Data Services Platform
 
Myth Busters II: BI Tools and Data Virtualization are Interchangeable
Myth Busters II: BI Tools and Data Virtualization are InterchangeableMyth Busters II: BI Tools and Data Virtualization are Interchangeable
Myth Busters II: BI Tools and Data Virtualization are Interchangeable
 
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
 
Master Data Services - used for than just data
Master Data Services - used for than just dataMaster Data Services - used for than just data
Master Data Services - used for than just data
 
ETL Process
ETL ProcessETL Process
ETL Process
 
IOUG93 - Technical Architecture for the Data Warehouse - Presentation
IOUG93 - Technical Architecture for the Data Warehouse - PresentationIOUG93 - Technical Architecture for the Data Warehouse - Presentation
IOUG93 - Technical Architecture for the Data Warehouse - Presentation
 
Introduction to Data Vault Modeling
Introduction to Data Vault ModelingIntroduction to Data Vault Modeling
Introduction to Data Vault Modeling
 
Data warehouse 101-fundamentals-
Data warehouse 101-fundamentals-Data warehouse 101-fundamentals-
Data warehouse 101-fundamentals-
 
Big Data and BI Tools - BI Reporting for Bay Area Startups User Group
Big Data and BI Tools - BI Reporting for Bay Area Startups User GroupBig Data and BI Tools - BI Reporting for Bay Area Startups User Group
Big Data and BI Tools - BI Reporting for Bay Area Startups User Group
 
Visual Data Vault
Visual Data VaultVisual Data Vault
Visual Data Vault
 

En vedette

1 phil lit intro
1 phil lit   intro1 phil lit   intro
1 phil lit intro
Marien Be
 
Instructional multimedia project final
Instructional multimedia project finalInstructional multimedia project final
Instructional multimedia project final
crierson
 
EVC Selor Board of Stakeholders 15 mei 2012
EVC Selor Board of Stakeholders 15 mei 2012EVC Selor Board of Stakeholders 15 mei 2012
EVC Selor Board of Stakeholders 15 mei 2012
Vincent Van Malderen
 
Barbie informe final
Barbie informe finalBarbie informe final
Barbie informe final
Karen Carrera
 
The change after the quake (MACROMILL REPORT)
The change after the quake (MACROMILL REPORT)The change after the quake (MACROMILL REPORT)
The change after the quake (MACROMILL REPORT)
MACROMILL
 
39802 sum orientation2011_sav_family_ppt
39802 sum orientation2011_sav_family_ppt39802 sum orientation2011_sav_family_ppt
39802 sum orientation2011_sav_family_ppt
TreyReckling
 

En vedette (20)

Concepciones sobre evolucion
Concepciones sobre evolucionConcepciones sobre evolucion
Concepciones sobre evolucion
 
MOSS 2007 Overview
MOSS 2007 OverviewMOSS 2007 Overview
MOSS 2007 Overview
 
Verborgen (?) talenten (keynote ECG congres 2016)
Verborgen (?) talenten (keynote ECG congres 2016)Verborgen (?) talenten (keynote ECG congres 2016)
Verborgen (?) talenten (keynote ECG congres 2016)
 
Project Open Badges Selor (Belgian Badges)
Project Open Badges Selor (Belgian Badges)Project Open Badges Selor (Belgian Badges)
Project Open Badges Selor (Belgian Badges)
 
Morrissey & The Smiths: Passions Just Like Mine
Morrissey & The Smiths: Passions Just Like MineMorrissey & The Smiths: Passions Just Like Mine
Morrissey & The Smiths: Passions Just Like Mine
 
1 phil lit intro
1 phil lit   intro1 phil lit   intro
1 phil lit intro
 
Instructional multimedia project final
Instructional multimedia project finalInstructional multimedia project final
Instructional multimedia project final
 
HowToLancers
HowToLancersHowToLancers
HowToLancers
 
Brazilian Travel Industry
Brazilian Travel IndustryBrazilian Travel Industry
Brazilian Travel Industry
 
EVC Selor Board of Stakeholders 15 mei 2012
EVC Selor Board of Stakeholders 15 mei 2012EVC Selor Board of Stakeholders 15 mei 2012
EVC Selor Board of Stakeholders 15 mei 2012
 
Data communication
Data communicationData communication
Data communication
 
Day1
Day1Day1
Day1
 
Barbie informe final
Barbie informe finalBarbie informe final
Barbie informe final
 
http://accountants.intorontonow.com
http://accountants.intorontonow.comhttp://accountants.intorontonow.com
http://accountants.intorontonow.com
 
Sms pta 2012
Sms pta 2012Sms pta 2012
Sms pta 2012
 
A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...
A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...
A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...
 
The change after the quake (MACROMILL REPORT)
The change after the quake (MACROMILL REPORT)The change after the quake (MACROMILL REPORT)
The change after the quake (MACROMILL REPORT)
 
39802 sum orientation2011_sav_family_ppt
39802 sum orientation2011_sav_family_ppt39802 sum orientation2011_sav_family_ppt
39802 sum orientation2011_sav_family_ppt
 
Open innoveren in tijden van schaarste
Open innoveren in tijden van schaarsteOpen innoveren in tijden van schaarste
Open innoveren in tijden van schaarste
 
Baas Kaar It Co Ltd Sap Services Short
Baas Kaar It Co Ltd   Sap Services ShortBaas Kaar It Co Ltd   Sap Services Short
Baas Kaar It Co Ltd Sap Services Short
 

Similaire à Introduction to Microsoft SQL Server 2008 R2 Analysis Service

Microsoft SQL Server 2008 R2 - Analysis Services Presentation
Microsoft SQL Server 2008 R2 - Analysis Services PresentationMicrosoft SQL Server 2008 R2 - Analysis Services Presentation
Microsoft SQL Server 2008 R2 - Analysis Services Presentation
Microsoft Private Cloud
 
Sql server2008 r2_bi_datasheet_final
Sql server2008 r2_bi_datasheet_finalSql server2008 r2_bi_datasheet_final
Sql server2008 r2_bi_datasheet_final
Klaudiia Jacome
 
Enabling End User And Ad Hoc Reporting With M S S Q L Server 2005 R...
Enabling  End  User And  Ad  Hoc  Reporting  With  M S  S Q L  Server 2005  R...Enabling  End  User And  Ad  Hoc  Reporting  With  M S  S Q L  Server 2005  R...
Enabling End User And Ad Hoc Reporting With M S S Q L Server 2005 R...
Joseph Lopez
 
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
SPTechCon
 
Extreme SSAS- SQL 2011
Extreme SSAS- SQL 2011Extreme SSAS- SQL 2011
Extreme SSAS- SQL 2011
Itay Braun
 

Similaire à Introduction to Microsoft SQL Server 2008 R2 Analysis Service (20)

Self service BI with sql server 2008 R2 and microsoft power pivot short
Self service BI with sql server 2008 R2 and microsoft power pivot shortSelf service BI with sql server 2008 R2 and microsoft power pivot short
Self service BI with sql server 2008 R2 and microsoft power pivot short
 
Introduction to SQL Server Analysis services 2008
Introduction to SQL Server Analysis services 2008Introduction to SQL Server Analysis services 2008
Introduction to SQL Server Analysis services 2008
 
Create Your First SQL Server Cubes
Create Your First SQL Server CubesCreate Your First SQL Server Cubes
Create Your First SQL Server Cubes
 
Autoservicio de inteligencia de negocios
Autoservicio de inteligencia de negociosAutoservicio de inteligencia de negocios
Autoservicio de inteligencia de negocios
 
Bi For It Professionals Part 3 Building And Querying Multidimensional Cubes
Bi For It Professionals Part 3   Building And Querying Multidimensional CubesBi For It Professionals Part 3   Building And Querying Multidimensional Cubes
Bi For It Professionals Part 3 Building And Querying Multidimensional Cubes
 
Microsoft SQL Server 2008 R2 - Analysis Services Presentation
Microsoft SQL Server 2008 R2 - Analysis Services PresentationMicrosoft SQL Server 2008 R2 - Analysis Services Presentation
Microsoft SQL Server 2008 R2 - Analysis Services Presentation
 
Sql server2008 r2_bi_datasheet_final
Sql server2008 r2_bi_datasheet_finalSql server2008 r2_bi_datasheet_final
Sql server2008 r2_bi_datasheet_final
 
Enabling End User And Ad Hoc Reporting With M S S Q L Server 2005 R...
Enabling  End  User And  Ad  Hoc  Reporting  With  M S  S Q L  Server 2005  R...Enabling  End  User And  Ad  Hoc  Reporting  With  M S  S Q L  Server 2005  R...
Enabling End User And Ad Hoc Reporting With M S S Q L Server 2005 R...
 
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
Tutorial: (Additional Slides) Business Intelligence: Making the Right Choices...
 
What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)What's New with BI in SQL Server Denali (SQL11)
What's New with BI in SQL Server Denali (SQL11)
 
Microsoft SQL Server 2012
Microsoft SQL Server 2012 Microsoft SQL Server 2012
Microsoft SQL Server 2012
 
Business Intelligence For It Professionals Part 4 Scorecards Dashboards And...
Business Intelligence For It Professionals Part 4   Scorecards Dashboards And...Business Intelligence For It Professionals Part 4   Scorecards Dashboards And...
Business Intelligence For It Professionals Part 4 Scorecards Dashboards And...
 
BI Dashboards with SQL Server
BI Dashboards with SQL ServerBI Dashboards with SQL Server
BI Dashboards with SQL Server
 
Philly codecamp oct2010
Philly codecamp oct2010Philly codecamp oct2010
Philly codecamp oct2010
 
Sql server analysis_services_datasheet
Sql server analysis_services_datasheetSql server analysis_services_datasheet
Sql server analysis_services_datasheet
 
NLS Banking Solutions - NQuest BI
NLS Banking Solutions - NQuest BINLS Banking Solutions - NQuest BI
NLS Banking Solutions - NQuest BI
 
BI Dashboards with SQL Server 2008 R2
BI Dashboards with SQL Server 2008 R2BI Dashboards with SQL Server 2008 R2
BI Dashboards with SQL Server 2008 R2
 
How does Microsoft solve Big Data?
How does Microsoft solve Big Data?How does Microsoft solve Big Data?
How does Microsoft solve Big Data?
 
Extending the reach of your Microsoft Dynamics AX Application with the next-g...
Extending the reach of your Microsoft Dynamics AX Application with the next-g...Extending the reach of your Microsoft Dynamics AX Application with the next-g...
Extending the reach of your Microsoft Dynamics AX Application with the next-g...
 
Extreme SSAS- SQL 2011
Extreme SSAS- SQL 2011Extreme SSAS- SQL 2011
Extreme SSAS- SQL 2011
 

Plus de Quang Nguyễn Bá

SharePoint 2010 Business Intelligence
SharePoint 2010 Business IntelligenceSharePoint 2010 Business Intelligence
SharePoint 2010 Business Intelligence
Quang Nguyễn Bá
 
Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010
Quang Nguyễn Bá
 
SharePoint Web part programming
SharePoint Web part programmingSharePoint Web part programming
SharePoint Web part programming
Quang Nguyễn Bá
 

Plus de Quang Nguyễn Bá (16)

Lesson 09 Resources and Settings in WPF
Lesson 09 Resources and Settings in WPFLesson 09 Resources and Settings in WPF
Lesson 09 Resources and Settings in WPF
 
Lesson 08 Documents and Printings in WPF
Lesson 08 Documents and Printings in WPFLesson 08 Documents and Printings in WPF
Lesson 08 Documents and Printings in WPF
 
Lesson 07 Actions and Commands in WPF
Lesson 07 Actions and Commands in WPFLesson 07 Actions and Commands in WPF
Lesson 07 Actions and Commands in WPF
 
Lesson 06 Styles and Templates in WPF
Lesson 06 Styles and Templates in WPFLesson 06 Styles and Templates in WPF
Lesson 06 Styles and Templates in WPF
 
Lesson 05 Data Binding in WPF
Lesson 05 Data Binding in WPFLesson 05 Data Binding in WPF
Lesson 05 Data Binding in WPF
 
Lesson 04 WPF Controls
Lesson 04 WPF ControlsLesson 04 WPF Controls
Lesson 04 WPF Controls
 
Lesson 03 Layouts in WPF
Lesson 03 Layouts in WPFLesson 03 Layouts in WPF
Lesson 03 Layouts in WPF
 
Lesson 02 Introduction to XAML
Lesson 02 Introduction to XAMLLesson 02 Introduction to XAML
Lesson 02 Introduction to XAML
 
Lesson 01 Introduction to WPF
Lesson 01 Introduction to WPFLesson 01 Introduction to WPF
Lesson 01 Introduction to WPF
 
TDD - Test Driven Dvelopment | Test First Design
TDD -  Test Driven Dvelopment | Test First DesignTDD -  Test Driven Dvelopment | Test First Design
TDD - Test Driven Dvelopment | Test First Design
 
Scrum sử dụng Team Foundation Server 2012
Scrum sử dụng Team Foundation Server 2012Scrum sử dụng Team Foundation Server 2012
Scrum sử dụng Team Foundation Server 2012
 
Giới thiệu WCF
Giới thiệu WCFGiới thiệu WCF
Giới thiệu WCF
 
SharePoint Programming Basic
SharePoint Programming BasicSharePoint Programming Basic
SharePoint Programming Basic
 
SharePoint 2010 Business Intelligence
SharePoint 2010 Business IntelligenceSharePoint 2010 Business Intelligence
SharePoint 2010 Business Intelligence
 
Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010Programming SharePoint 2010 with Visual Studio 2010
Programming SharePoint 2010 with Visual Studio 2010
 
SharePoint Web part programming
SharePoint Web part programmingSharePoint Web part programming
SharePoint Web part programming
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Introduction to Microsoft SQL Server 2008 R2 Analysis Service

  • 1. SQL Server 2008 R2 Understanding SQL Server Analysis Services http://techmaster.vn
  • 2. SQL Server 2008 R2 BI Technologies http://techmaster.vn
  • 3. SQL Server 2008 R2 BI Technologies http://techmaster.vn
  • 4. Contents • Understand the Analysis Services 2008 R2 • Understand the OLAP and OLAP database • Understand the dimensional OLAP • Understand the multidimensional data analysis • Understand dimensional data warehouse http://techmaster.vn
  • 5. SQL Server 2008 R2 BI Structure Reporting and Visualization Tools (Dashboard, KPI, Presentation Layer Scorecard,…) Turn data into information (analysis) Analytical Layer Multidimensional OLAP Database Data Storage and Retrieval Layer Data Warehouse in RDBMS 1. Extract the data from the multiple sources Data Transformation Layer 2. Modify the data to consistent 3. Load the data into Data Storage system Data Source Layer Text, MS Excel, MS Access, MS SQL, Oracle,…| External Sources http://techmaster.vn
  • 6. Microsoft Business Intelligence Platform Analytic Scorecards, Analytics, Planning Applications (PerformancePoint Service) Portal (SharePoint) Data Delivery Report Builder End-user Analysis SSRS (Excel) Integrate Analyze Report (SQL Integration Services) (SQL Analysis Services) (SQL Reporting Services) Infrastructure Platform Data Warehouse, Data Marts, Operational Data (SQL Server 2008 R2) Office SQL http://techmaster.vn
  • 7. Analysis Challenges How Do You Deal With: Data stored in The cost of developing The costs of multiple data sources analytical solutions learning new tools Deploy for today’s problem but scale ‘Real-Time’ data over time access Multiple Users, Diverse analytical Inconsistent data Multiple Tools needs http://techmaster.vn
  • 8. Analysis Services 2008 R2 Design Scalable Solutions Productivity enhancing designers Scalable Infrastructure Superior Performance Extend Beyond OLAP Unified meta data model Central KPI manageability Predictive Analysis Deliver Pervasive Insight Optimized Office interoperability Rich partner extensibility Open, embeddable architecture http://techmaster.vn
  • 9. Design Scalable Solutions Productivity Enhancing Designers Optimized design experience Best Practice Design Alerts Project Lifecycle support Scalable Infrastructure Heterogeneous data Integration Robust Scale-Out Configuration Advanced Resource Monitoring User-differentiated perspectives Superior Performance Market leading MOLAP Engine Near real-time data access Subspace computation optimization MOLAP enabled write-back http://techmaster.vn
  • 10. Extend Beyond OLAP Unified Metadata Model One consolidated business view Integrated relational & OLAP analysis Business information modeling Time- and financial intelligence Central KPI Manageability Server based KPI framework Centrally managed repository Pervasive end-user accessibility Predictive Analytics Complete data mining framework Embeddable viewers Predictive capabilities available to everyone through Microsoft Office http://techmaster.vn
  • 11. Predictive Analysis Bring Data Mining to the Masses through Microsoft Office Enable easy to use predictive analysis At every desktop For every information worker Through three powerful add-ins to Microsoft Office Predictive capabilities readily available for business users in Excel Data mining client for building data mining models in Excel Data mining templates for project visualization in Visio “What Microsoft has done is to make data mining available on the desktop to everyone” (David Norris, Associate Analyst, Bloor Research). http://techmaster.vn
  • 12. Deliver Pervasive Insight Optimized Office Interoperability Massive data analysis for everyone with PowerPivot for Excel 2010 Team Collaboration through PowerPivot for SharePoint 2010 Corporate performance management through PerformancePoint Services 2010 Rich Partner Ecosystem Extensibility Vertically specialized solutions Packaged applications API support from all major BI vendors Open, embeddable architecture Open API’s and XML/A based protocols Native web service functionality Close loop analysis http://techmaster.vn
  • 13. Office 2010 Integration Excel 2010 Great cross product investments optimizing Excel 2010 as analytical client for Analysis Services Enhancements around local cubes Significant performance and functionality investments Data Mining Add-Ins for predictive analysis PowerPivot for massive data analysis on the desktop PerformancePoint Services 2010 Great cross product investments for thin analytic client for Analysis Services Rich web capabilities for data exploration. Guided and contextual analysis through integrated dashboards Predictive analytics by integrating with SQL Server Data Mining http://techmaster.vn
  • 14. Understanding SQL Server Analysis Services UNDERSTANDING OLAP http://techmaster.vn
  • 15. What is OLAP Online Analytical • Benefits Processing – Consistently fast response Online Transaction Processing 1993. – Metadata-based queries 1985. OLAP – Spreadsheet-style formulas OLTP http://techmaster.vn
  • 16. Consistently Fast Response • Calculating and storing aggregate values and the results of formulas when a cube is loaded (calculation in advance) • Aggregate tables can be created to provide fast query results http://techmaster.vn
  • 17. Metadata-Based Queries SQL Query • SQL is suitable for SELECT transaction system [Store].[Store Country].[Canada].[Vancouver] ON COLUMNS, not for reporting [Product].[All Products].[Clothing].[Mittens] applications ON ROWS FROM [Sales] • Query language for WHERE ([Measures].[Unit Sales], [Date].[2010].[February]) OLAP data source MDX Query – Multidimensional SELECT SUM(Sales.[Unit Sales]) expression FROM (Sales INNER JOIN Stores ON Sales.StoreID = Stores.StoreID) INNER JOIN Products – MDX ON Sales.ProductID = Products.ProductID WHERE Stores.StoreCity = 'Vancouver' AND Products.ProductName = 'Mittens' AND Sales.SaleDate BETWEEN '01-02-2010' AND '28-02-2010' http://techmaster.vn
  • 18. Spreadsheet-Style Formulas • MDX formulas use named references – C14/D14 (Spreadsheet) | [Actual]/[Budget] (MDX) • MDX formulas are easy to manage • MDX formulas are multidimensional – Spreadsheet is two dimensional • MDX formulas take advantage of metadata (its relationship) – There is no relationship in cells on the sheet. http://techmaster.vn
  • 19. Understanding SQL Server Analysis Services MULTIDIMENSIONAL DATA ANALYSIS http://techmaster.vn
  • 20. Measure and Metadata • Measure: A summarizable numerical value – Sales Dollars, Shipment Units,... • Metadata: Data about data – Label, Order by,... Metadata Units Sold 70 70 Measure Adventure Works Sales Adventure Works Sales http://techmaster.vn
  • 21. Unit sold by Product and Month report Product Jan 2011 Feb 2011 Mar 2011 Apr 2011 Mountain-500 Black, 40 1 3 1 2 Mountain-500 Black, 44 2 1 Mountain-500 Black, 48 1 2 1 Mountain-500 Silver, 40 1 2 1 Mountain-500 Silver, 44 1 1 1 Mountain-500 Silver, 48 2 Road-750 Black, 44 10 7 Road-750 Black, 48 5 9 Hitch Rack 1 6 6 3 http://techmaster.vn
  • 22. Grouping/Aggregating/Attribute/Member • Grouping – Aggregating: is the Product Model Color Size way humans deal with too much Mountain-500 Black, 40 Mountain- Black 40 detail 500 Mountain-500 Black, 44 Mountain- Black 44 – Ex: group Products by model, 500 subcategory, and category groups Attribute: Product (Key), Model, Mountain-500 Black, 48 Mountain- Black 48 500 • Mountain-500 Silver, 40 Mountain- Silver 40 Color, Size 500 Mountain-500 Silver, 44 Mountain- Silver 44 • Member 500 – Model, Mountain-500, Road- Mountain-500 Silver, 48 Mountain- Silver 48 750… 500 Road-750 Black, 44 Road-750 Black 44 – Color: Black, Silver Road-750 Black, 48 Road-750 Black 48 Hitch Rack Hitch Rack – Size: 40, 44, 48 Product Attributes http://techmaster.vn
  • 23. Hierarchy: Model  Product Jan 2011 Feb 2011 Mar 2011 Apr 2011 Mountain-500 3 8 6 6 Mountain-500 Black, 40 1 3 1 2 Mountain-500 Black, 44 2 1 Mountain-500 Black, 48 1 2 1 Mountain-500 Silver, 40 1 2 1 Mountain-500 Silver, 44 1 1 1 Mountain-500 Silver, 48 2 Road-750 15 16 Road-750 Black, 44 10 7 Road-750 Black, 48 5 9 Hitch Rack 1 6 6 3 Hitch Rack 1 6 6 3 Units Sold by Model, Product and Month http://techmaster.vn
  • 24. Hierarchy • Hierarchy is created by arranging related attributes into levels • Hierarchy level: 2, 3,…n • Hierarchy type: – Balance (Date) – Unbalance (Organization) http://techmaster.vn
  • 25. Dimensions Jan Feb Mar Apr 2011 2011 2011 2011 Mountain- 3 8 6 6 500 Road-750 15 16 Hitch Rack 1 6 6 3 Units Sold by Model and Month • Attribute: – Model (3) – Month (4) • Potential number of values: 12 = 3x4 http://techmaster.vn
  • 26. Dimensions Jan 2011 Feb 2011 Mar 2011 Apr 2011 Units $ Units $ Units $ Units $ WA Hitch Rack 4 $480 3 $360 2 $240 Mountain- 2 $1.105 6 $3.256 5 $2.775 5 $2.750 500 Road-750 9 $4.860 10 $5.400 OR Hitch Rack 2 $240 3 $360 1 $120 Mountain- 1 $120 2 $1.105 1 $540 1 $540 500 Road-750 1 $565 6 $3.240 6 $3.240 • Attribute: – State (2), Model (3), Month (4), Measure (2: Units sold, Sales dollars) • Potential number of values: 2x3x4x2 = 48 http://techmaster.vn
  • 27. Dimensions • Examples: – State attribute belongs to the Geography dimension – Model attribute belongs to the Product dimension – Month attribute belongs to the Date dimension – Units sold and Sale Dollars belongs to the Measure dimension http://techmaster.vn
  • 28. Dimensions • The independent attributes and hierarchies are the dimension • A dimension may contain more than one attributes – Ex: Product dimension contain Color and Size attribute • Dimension also contain hierarchies – Ex: Product by Model hierarchy is composed of attributes contained in the Product dimension, so the hierarchy also belongs in the Product dimension • Measure dimension are displayed on columns http://techmaster.vn
  • 29. Understanding SQL Server Analysis Services DIMENSIONAL DATA WAREHOUSE http://techmaster.vn
  • 30. Dimension Data Warehouse • Dimension Data Warehouse is the data storage and retrieval layer of BI system • In dimension data warehouse: – Dimension are stored in dimension tables – Measure are called facts and are stored in fact tables http://techmaster.vn
  • 31. Fact Table • Fact table: table that stores the detailed values for measures • Key Column: State, Product, Month • Fact Column: UnitsSold, SalesDollars State Product Month UnitsSol SalesDollar d s OR Hitch Rack Jan 2011 1 $120.00 OR Mountain-500 Silver, 40 Jan 2011 1 $565.00 OR Mountain-500 Silver, 48 Jan 2011 1 $552.50 WA Mountain-500 Silver, 48 Jan 2011 1 $552.50 OR Hitch Rack Feb 2011 2 $240.00 WA Hitch Rack Feb 2011 4 $480.00 FactSales table http://techmaster.vn
  • 32. Fact Table • The value in the key columns relate the facts in the fact table row to a row in each dimension table • Fact table may have other type of column for reference purposes • Fact table might contain one or more measure columns http://techmaster.vn
  • 33. Fact Table • The level of detail stored in a fact table is called granularity • The dimensions that a fact table is related to is called dimensionality of the fact table • Facts that have different granularity of different dimensionality must be stored in separate fact tables http://techmaster.vn
  • 34. Fact table: Dimension key • Actually a fact table almost always uses an integer, called a dimension key, for each State Product Month UnitsSold SalesDollars dimension member 1 483 201101 1 120.00 1 591 201101 1 565.00 • There must be a dimension 1 594 201101 1 552.50 table for each dimension key 2 594 201101 1 552.50 in a fact table 1 483 201102 2 240.00 2 483 201102 4 480.00 FactSales table using Dimension key http://techmaster.vn
  • 35. Dimension Table • A dimension table contain one row for each member of the key attribute of the dimension ProductKey Product 596 Mountain-500 Black, 40 • The key attribute has two column: 598 Mountain-500 Black, 44 599 Mountain-500 Black, 48 – Integer dimension key (PK) 591 Mountain-500 Silver, 40 – Attribute label 593 Mountain-500 Silver, 44 594 Mountain-500 Silver, 48 • A dimension table may contain 604 Road-750 Black, 44 other columns for other attributes 605 Road-750 Black, 48 of the dimension 483 Hitch Rack DimProduct Dimension Table http://techmaster.vn
  • 36. Dimension table ProductKey Product SubCategory Category Color Size 596 Mountain-500 Black, 40 Mountain Bikes Bikes Black 40 598 Mountain-500 Black, 44 Mountain Bikes Bikes Black 44 599 Mountain-500 Black, 48 Mountain Bikes Bikes Black 48 591 Mountain-500 Silver, 40 Mountain Bikes Bikes Silver 40 593 Mountain-500 Silver, 44 Mountain Bikes Bikes Silver 44 594 Mountain-500 Silver, 48 Mountain Bikes Bikes Silver 48 604 Road-750 Black, 44 Road Bikes Bikes Black 44 605 Road-750 Black, 48 Road Bikes Bikes Black 48 483 Hitch Rack Bike Racks Accessories DimProduct Dimension Table http://techmaster.vn
  • 37. Aggregatable and Aggregate • Aggregatable: Attributes that can be used to create groups • Non aggregatable attributes are referred to as member properties – Ex: List Price, Telephone Number, Street Address… • Aggregate: Summary value in the group of aggregatable • Example: – Aggregatable: Category, Color… – Aggregate: Number of Units Sold for each Category http://techmaster.vn
  • 38. Understanding SQL Server Analysis Services MULTIDIMENSIONAL OLAP http://techmaster.vn
  • 39. Multidimensional OLAP • Multidimensional OLAP database resides between the data storage and retrieval layer and the presentation layer • It converts the relation data warehouse data into a fully implemented dimensional model for creating analytical reports and data visualizations http://techmaster.vn
  • 40. Measure Group and Cube • Measure group corresponds to a single fact table • Measure group may contains data for single level of detail and aggregated data for all higher levels of detail • Cube: Combination of several related measure groups and a set of dimensions State Product Date Units Sold Sales Amount All All All 70 31.305 WA All All 46 21.235 WA Bikes All 37 20.115 WA Road Bikes All 19 10.260 http://techmaster.vn
  • 41. Understanding SQL Server Analysis Service DEMO http://techmaster.vn

Notes de l'éditeur

  1. Key Points: Integration Services (SSIS) provides a scalable enterprise data integration platform with exceptional Extract, Transform, Load (ETL) and integration capabilities, enabling organizations to more easily manage data from a wide array of data sourcesMaster Data Services (MDS) enables organizations to start with simple solutions for analytic or operational requirements, and then adapt the solutions to additional requirements incrementallyThe latest version of SQL Server from Microsoft SQL Server 2008 offers hundreds of new DBMS features that boost the productivity of database administrators and developers, improve support for larger databases, and enhance securityReporting Services (SSRS) provides a full range of ready-to-use tools and services to help you create, deploy, and manage reports for your organization, as well as programming features that enable you to extend and customize your reporting functionalityAnalysis Services (SSAS) delivers online analytical processing (OLAP) and data mining functionality for business intelligence applicationsConclusion: With SQL Server 2008 R2 customers get all the technologies needed to build a reliable and secure BI platform. SQL Server 2008 R2 has the strongest combination of price/performance, manageability, security, and DBA productivity.
  2. Key Points: Store - The SQL Server 2008 R2 Database Engine provides a high-performance, scalable storage solution for enterprise-scale data warehouses.Integrate – SQL Server Integration Services provides a comprehensive set of ETL capabilities that you can use to build and maintain a data warehouse that consolidates business data from across the enterprise.Analyze – SQL Server Analysis Services provides powerful OLAP analysis and data mining functionality to help your users gain deep insights into your business data.Report – SQL Server Reporting Services is an enterprise-scale reporting solution that you can use to create and deliver reports throughout the organization and to external partners and customersStewardship – SQL Server Master Data Services enables organizations to start with simple solutions for analytic or operational requirements, and then adapt the solutions to additional requirements incrementally.Conclusion: SQL Server 2008 R2 provides a full, end-to-end platform for Business Intelligence solutions.