Developing Multidimensional Modes
with Analysis Services
Puerto Rico PASS
July 17, 2014
Alan Koo
Senior Consultant | Nagnoi, Inc.
www.alankoo.com | @alan_koo | facebook.com/MicrosofBIyMas
Alan Koo | www.alankoo.com
Who am I?
• Senior Consultant at Nagnoi, Inc.
• 14+ years in SQL Server
• 9+ years in BI & OLAP
• Member of the Microsoft BI Advisors internal group
• Microsoft MVP (5th year)
• MCT Regional Lead – Puerto Rico
• MCT since 2004 for Business Intelligence / SQL Server / .NET
• Co-Founder of Puerto Rico PASS
• PASS Regional Mentor - LATAM
• Blogger: www.alankoo.com
Alan Koo | www.alankoo.com
Agenda
• Data sources
• Data source views
• Dimensions
– Attributes
– Attribute relationships
– Hierarchies
• Cubes
• Calculations using MDX
• Key Performance Indicators (KPIs)
• Actions
• Perspectives
• Translations
• Security roles
• Querying multidimensional models using Excel and Reporting Services
BI Semantic Model: The Analysis Services 2014 Foundation
From Personal to Corporate BI
Analysis Services Flavors | SQL Saturday Puerto Rico | Alan Koo | www.alankoo.com
Alan Koo | www.alankoo.com
Are Cubes (MD Models) Old Fashioned??
Alan Koo | www.alankoo.com
BigData
Enormous amounts of data
http://www.nytimes.com/2013/04/14/education/edlife/universities-offer-courses-in-a-hot-new-field-data-science.html?_r=1&
90%
Of data in the world,
has been created in
the last 2 years
online behavior of Facebook users
tissue samples of cancer patients
purchasing habits of grocery shoppers
crime statistics of cities
“internet of things”
24/7 outpatient monitor
real-time telemetry devices
Alan Koo | www.alankoo.com
What else for Multidimensional?
Analysis Services
Multidimensional+
Big Data Analytics
Alan Koo | www.alankoo.com
The Master Guide
for Data
Warehousing /
Dimensional
Modeling
Alan Koo | www.alankoo.com
Let’s start!
Data Sources
Data Source View
Dimensions
Dimension Attribute
Dimension Hierarchies
Attribute Relationships
Alan Koo | www.alankoo.com
Cubes
Measure
Measure Group
Aggregation Function
Alan Koo | www.alankoo.com
MDX Basics
Alan Koo | www.alankoo.com
MDX Basics
Alan Koo | www.alankoo.com
Cube Dimension Usage
None
Regular
Reference
Many-to-Many
Fact
Data Mining
Alan Koo | www.alankoo.com
Cube Calculations
Calculated Measures
Set
Scope
Alan Koo | www.alankoo.com
Key Performance Indicators (KPIs)
Alan Koo | www.alankoo.com
Actions
Alan Koo | www.alankoo.com
Perspectives
Alan Koo | www.alankoo.com
Translations
Alan Koo | www.alankoo.com
Security Roles
Alan Koo | www.alankoo.com
SSAS Myths Dispelled
SSAS pre-aggregates data by default
We can emulate in MDX at no cost Enterprise Edition functionality in
Standard Edition
SSAS is always faster than SQL Server RDBMS
MOLAP is always faster than ROLAP
Usage Based Optimizations do not work well
Rigid attribute relationships boost performance
MDX and DAX are hard
Alan Koo | www.alankoo.com
Hungry for Analytics?
Alan Koo | www.alankoo.com
Looking for More…?
Alan Koo | www.alankoo.com
Questions?
Thank You!
Alan Koo
Senior Consultant | Nagnoi, Inc.
Blog: www.alankoo.com
Twitter: @alan_koo
facebook.com/MicrosofBIyMas

Multidimensional models with Analysis Services 2014

  • 1.
    Developing Multidimensional Modes withAnalysis Services Puerto Rico PASS July 17, 2014 Alan Koo Senior Consultant | Nagnoi, Inc. www.alankoo.com | @alan_koo | facebook.com/MicrosofBIyMas
  • 2.
    Alan Koo |www.alankoo.com Who am I? • Senior Consultant at Nagnoi, Inc. • 14+ years in SQL Server • 9+ years in BI & OLAP • Member of the Microsoft BI Advisors internal group • Microsoft MVP (5th year) • MCT Regional Lead – Puerto Rico • MCT since 2004 for Business Intelligence / SQL Server / .NET • Co-Founder of Puerto Rico PASS • PASS Regional Mentor - LATAM • Blogger: www.alankoo.com
  • 3.
    Alan Koo |www.alankoo.com Agenda • Data sources • Data source views • Dimensions – Attributes – Attribute relationships – Hierarchies • Cubes • Calculations using MDX • Key Performance Indicators (KPIs) • Actions • Perspectives • Translations • Security roles • Querying multidimensional models using Excel and Reporting Services
  • 4.
    BI Semantic Model:The Analysis Services 2014 Foundation From Personal to Corporate BI Analysis Services Flavors | SQL Saturday Puerto Rico | Alan Koo | www.alankoo.com
  • 5.
    Alan Koo |www.alankoo.com Are Cubes (MD Models) Old Fashioned??
  • 6.
    Alan Koo |www.alankoo.com BigData Enormous amounts of data http://www.nytimes.com/2013/04/14/education/edlife/universities-offer-courses-in-a-hot-new-field-data-science.html?_r=1& 90% Of data in the world, has been created in the last 2 years online behavior of Facebook users tissue samples of cancer patients purchasing habits of grocery shoppers crime statistics of cities “internet of things” 24/7 outpatient monitor real-time telemetry devices
  • 7.
    Alan Koo |www.alankoo.com What else for Multidimensional? Analysis Services Multidimensional+ Big Data Analytics
  • 8.
    Alan Koo |www.alankoo.com The Master Guide for Data Warehousing / Dimensional Modeling
  • 9.
    Alan Koo |www.alankoo.com Let’s start!
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
    Alan Koo |www.alankoo.com Cubes Measure Measure Group Aggregation Function
  • 17.
    Alan Koo |www.alankoo.com MDX Basics
  • 18.
    Alan Koo |www.alankoo.com MDX Basics
  • 19.
    Alan Koo |www.alankoo.com Cube Dimension Usage None Regular Reference Many-to-Many Fact Data Mining
  • 20.
    Alan Koo |www.alankoo.com Cube Calculations Calculated Measures Set Scope
  • 21.
    Alan Koo |www.alankoo.com Key Performance Indicators (KPIs)
  • 22.
    Alan Koo |www.alankoo.com Actions
  • 23.
    Alan Koo |www.alankoo.com Perspectives
  • 24.
    Alan Koo |www.alankoo.com Translations
  • 25.
    Alan Koo |www.alankoo.com Security Roles
  • 26.
    Alan Koo |www.alankoo.com SSAS Myths Dispelled SSAS pre-aggregates data by default We can emulate in MDX at no cost Enterprise Edition functionality in Standard Edition SSAS is always faster than SQL Server RDBMS MOLAP is always faster than ROLAP Usage Based Optimizations do not work well Rigid attribute relationships boost performance MDX and DAX are hard
  • 27.
    Alan Koo |www.alankoo.com Hungry for Analytics?
  • 28.
    Alan Koo |www.alankoo.com Looking for More…?
  • 29.
    Alan Koo |www.alankoo.com Questions?
  • 30.
    Thank You! Alan Koo SeniorConsultant | Nagnoi, Inc. Blog: www.alankoo.com Twitter: @alan_koo facebook.com/MicrosofBIyMas