SlideShare una empresa de Scribd logo
1 de 22
Silicon Valley SQL Server User Group
Tonight’s Agenda May 20, 2014
 6:30 – 7:00 pm Food and Networking
 7:00 – 7:10 pm Introductions
 7:10 – 8:10 pm Patrick Sheehan, Microsoft
 8:10 – 8:30 pm Discussion (Q&A)
Parent Organizations
 Bay Area Association of Database Developers
 BAADD www.baadd.org
 Professional Association of SQL Server
 PASS www.sqlpass.org
Sponsors
Upcoming Meetings
 San Francisco – Thurs, June 5
 Dimensional Modeling, The Basics &
Beyond
 Dan Bulos, Symmetry
 San Francisco – Wed, June 11
 SQL Server Implementation
Frameworks From Dev to Prod
 Prakash Heda, Advent Software
Announcements
 Attendee Announcements
 New Jobs
 New Projects
 Projects completed
 Upcoming learning opportunities
Patrick Sheehan
 Data Platform Architect at Microsoft’s Silicon Valley
Technology Center (SVC MTC)
 Previously with Microsoft Consulting Services (MCS)
as an engineer, architect, and enterprise strategist
 Specialties:
 SQL Server
 Business Intelligence
 Big Data
 Enterprise & Solutions Architecture
 Cloud Computing
SQL Server Analysis Services
SSAS – 2012
Fundamentals
What is Analysis Services?
• Online Analytical Processing (OLAP) engine
• Designed for data analysis, mining, and reporting
• Contains Databases
• Contains Cubes
• Cubes are multi-dimensional data sets
• Sourced from Facts
• Tables which contain measures
• …and Dimensions
• Tables which contain attributes
Reference: http://technet.microsoft.com/en-us/library/bb522625.aspx
Use Cases
• Data abstraction layer
• Ad hoc reporting
• Data mining
• Data warehousing
• Kimball Methodology recommended
DEMO
Prerequisites
• Install SQL Server 2012 + SP1
• Developer Edition, Eval, or Enterprise
• Eval (180 day) can be obtained (free) here: http://www.microsoft.com/en-
us/download/details.aspx?id=29066
• SQL Server Engine
• SQL Server Analysis Services
• Workstation Components
• SQL Server Data Tools (SSDT)
Download SSDT here: http://msdn.microsoft.com/en-us/library/hh272686(v=vs.103).aspx
Tutorials
Analysis Services Tutorials (SSAS)
http://technet.microsoft.com/en-us/library/hh231701.aspx
Multidimensional Modeling (Adventure Works Tutorial)
http://technet.microsoft.com/en-us/library/db55e226-601a-4026-8651-573195555a59
Download samples
http://msftdbprodsamples.codeplex.com/
Set up environment
• Move .mdf to SQL Server Data directory (e.g. C:Program FilesMicrosoft SQL
ServerMSSQL11.SQL2012MSSQLDATA)
• Attach .mdf to instance
• NOTE: if error is received, it is due to missing log file. Click on the .ldf file
listed in the Attach Database dialogue box, then click Remove (a new log file will
automatically be created in the default path)
• Extract .sln from .zip
• Open solution and reset connection strings to local db instance
Solution structure
• Data Sources node
• Connection strings to source
• Data Source Views node
• XML abstraction layer
• Cubes node
• Define dim/fact relationships, aggregations (calculations), partitions, mode
• Dimensions node
• Contains dimensions
• Roles node
• Define access to cube
Cube fundamentals
• Measure groups
• Contain measures
• Set properties (e.g. formatting)
• Dimensions
• Contain attributes
• Set properties (e.g. visibility)
• Define relationships (to key & each other)
• Define hierarchies
• Deployment
• Processing
• Affects of FULL versus
Multi-dimensonal Expression Language (MDX)
Example
Syntax
[ WITH <SELECT WITH clause> [ , <SELECT WITH clause> ... ] ]
SELECT [ * | ( <SELECT query axis clause>
[ , <SELECT query axis clause> ... ] ) ]
FROM <SELECT subcube clause>
[ <SELECT slicer axis clause> ]
[ <SELECT cell property list clause> ]
SELECT NON EMPTY { [Measures].[Reseller Order Quantity],
[Measures].[Reseller Gross Profit], [Measures].[Reseller Sales
Amount] } ON COLUMNS, NON EMPTY { ([Product].[Product
Categories].[Product].ALLMEMBERS *
[Date].[Fiscal].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES
MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS
FROM [Adventure Works] CELL PROPERTIES VALUE,
BACK_COLOR, FORE_COLOR, FORMATTED_VALUE,
FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
Reference:
http://technet.microsoft.com/en-us/library/ms145595.aspx
MDX “Heads up”
• MDX my look like T-SQL, but do not be fooled! It isn’t!
• MDX is a different way to think about data
• MDX is designed to provide tabular output from multidimensional sources
Reference:
http://msdn.microsoft.com/en-us/library/ms145506.aspx
Books:
MDX Solutions: With Microsoft SQL Server Analysis Services 2005 and
Hyperion Essbase – George Spofford (&others)
The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling
– Ralph Kimball
Working with Cubes
• Microsoft Excel is #1 app (>1billion worldwide deployments)
• Native integration with SSAS
• SQL Server Reporting Services (SSRS)
• Native integration with SSAS
• Multidimensional Programming (see: http://technet.microsoft.com/en-us/library/bb500153.aspx)
• ADOMD.NET
• .NET provider for communication with SSAS (via XMLA)
• Analysis Services Scripting Language (ASSL)
• Extends XMLA
• Analysis Management Objects (AMO)
• SSAS management classes
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 
DataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de KreukDataMinds 2022 Azure Purview Erwin de Kreuk
DataMinds 2022 Azure Purview Erwin de Kreuk
 
Azure Purview Data Toboggan Erwin de Kreuk
Azure Purview Data Toboggan Erwin de KreukAzure Purview Data Toboggan Erwin de Kreuk
Azure Purview Data Toboggan Erwin de Kreuk
 
Tableau
TableauTableau
Tableau
 
Data Lake Overview
Data Lake OverviewData Lake Overview
Data Lake Overview
 
Physical architecture of sql server
Physical architecture of sql serverPhysical architecture of sql server
Physical architecture of sql server
 
Introduction to Azure Data Lake
Introduction to Azure Data LakeIntroduction to Azure Data Lake
Introduction to Azure Data Lake
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
 
Azure Data Factory V2; The Data Flows
Azure Data Factory V2; The Data FlowsAzure Data Factory V2; The Data Flows
Azure Data Factory V2; The Data Flows
 
DAX and Power BI Training - 001 Overview
DAX and Power BI Training -  001 OverviewDAX and Power BI Training -  001 Overview
DAX and Power BI Training - 001 Overview
 
Data cleansing and prep with synapse data flows
Data cleansing and prep with synapse data flowsData cleansing and prep with synapse data flows
Data cleansing and prep with synapse data flows
 
Online index rebuild automation
Online index rebuild automationOnline index rebuild automation
Online index rebuild automation
 
Power BI new workspace experience in power bi
Power BI  new workspace experience in power biPower BI  new workspace experience in power bi
Power BI new workspace experience in power bi
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
 
ORACLE ARCHITECTURE
ORACLE ARCHITECTUREORACLE ARCHITECTURE
ORACLE ARCHITECTURE
 
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | ...
 
Galene - LinkedIn's Search Architecture: Presented by Diego Buthay & Sriram S...
Galene - LinkedIn's Search Architecture: Presented by Diego Buthay & Sriram S...Galene - LinkedIn's Search Architecture: Presented by Diego Buthay & Sriram S...
Galene - LinkedIn's Search Architecture: Presented by Diego Buthay & Sriram S...
 
BigQuery for Beginners
BigQuery for BeginnersBigQuery for Beginners
BigQuery for Beginners
 
Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)
 

Destacado

The olap tutorial 2012
The olap tutorial 2012The olap tutorial 2012
The olap tutorial 2012
Amin Jalali
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
Edureka!
 
Wonderware Intelligence Software Scenario
Wonderware Intelligence Software ScenarioWonderware Intelligence Software Scenario
Wonderware Intelligence Software Scenario
Greg Dubiel
 
Agnes's SSAS Project Documentation
Agnes's SSAS Project DocumentationAgnes's SSAS Project Documentation
Agnes's SSAS Project Documentation
agnestetter
 

Destacado (20)

OLAP – Creating Cubes with SQL Server Analysis Services
OLAP – Creating Cubes with SQL Server Analysis ServicesOLAP – Creating Cubes with SQL Server Analysis Services
OLAP – Creating Cubes with SQL Server Analysis Services
 
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
 
SQL Server Analysis Services
SQL Server Analysis ServicesSQL Server Analysis Services
SQL Server Analysis Services
 
Data warehouse and ssas terms
Data warehouse and ssas termsData warehouse and ssas terms
Data warehouse and ssas terms
 
Extreme SSAS - Part I
Extreme SSAS  - Part IExtreme SSAS  - Part I
Extreme SSAS - Part I
 
Microsoft SSAS: Should I Use Tabular or Multidimensional?
Microsoft SSAS: Should I Use Tabular or Multidimensional?Microsoft SSAS: Should I Use Tabular or Multidimensional?
Microsoft SSAS: Should I Use Tabular or Multidimensional?
 
The olap tutorial 2012
The olap tutorial 2012The olap tutorial 2012
The olap tutorial 2012
 
SSAS, MDX , Cube understanding, Browsing and Tools information
SSAS, MDX , Cube understanding, Browsing and Tools information SSAS, MDX , Cube understanding, Browsing and Tools information
SSAS, MDX , Cube understanding, Browsing and Tools information
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
 
OLAP
OLAPOLAP
OLAP
 
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
 
Developing with SQL Server Analysis Services 201310
Developing with SQL Server Analysis Services 201310Developing with SQL Server Analysis Services 201310
Developing with SQL Server Analysis Services 201310
 
Wonderware Intelligence Software Scenario
Wonderware Intelligence Software ScenarioWonderware Intelligence Software Scenario
Wonderware Intelligence Software Scenario
 
Dimensional modeling primer - SQL Saturday Madison - April 11th, 2015
Dimensional modeling primer - SQL Saturday Madison - April 11th, 2015Dimensional modeling primer - SQL Saturday Madison - April 11th, 2015
Dimensional modeling primer - SQL Saturday Madison - April 11th, 2015
 
Sql Saturday Costa Rica-SSAS Tabular Model
Sql Saturday Costa Rica-SSAS Tabular ModelSql Saturday Costa Rica-SSAS Tabular Model
Sql Saturday Costa Rica-SSAS Tabular Model
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2
 
Real-world BISM in SQL Server 2012 SSAS
Real-world BISM in SQL Server 2012 SSASReal-world BISM in SQL Server 2012 SSAS
Real-world BISM in SQL Server 2012 SSAS
 
SSAS Reference Architecture
SSAS Reference ArchitectureSSAS Reference Architecture
SSAS Reference Architecture
 
Jim Killian\'s SQL Server 2008 Portfolio
Jim Killian\'s SQL Server 2008 PortfolioJim Killian\'s SQL Server 2008 Portfolio
Jim Killian\'s SQL Server 2008 Portfolio
 
Agnes's SSAS Project Documentation
Agnes's SSAS Project DocumentationAgnes's SSAS Project Documentation
Agnes's SSAS Project Documentation
 

Similar a Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction

SQL Saturday 86 -- Enterprise Data Mining with SQL Server
SQL Saturday 86 -- Enterprise Data Mining with SQL ServerSQL Saturday 86 -- Enterprise Data Mining with SQL Server
SQL Saturday 86 -- Enterprise Data Mining with SQL Server
Mark Tabladillo
 
Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developers
llangit
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft Private Cloud
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverview
Farah Omer
 

Similar a Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction (20)

BI 2008 Simple
BI 2008 SimpleBI 2008 Simple
BI 2008 Simple
 
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
SQL PASS 2017 - Building one million predictions per second using SQL Server ...SQL PASS 2017 - Building one million predictions per second using SQL Server ...
SQL PASS 2017 - Building one million predictions per second using SQL Server ...
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
Mine craft:
Mine craft: Mine craft:
Mine craft:
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
SQL Server 2008 Data Mining
SQL Server 2008 Data MiningSQL Server 2008 Data Mining
SQL Server 2008 Data Mining
 
Data Mining 2008
Data Mining 2008Data Mining 2008
Data Mining 2008
 
Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server Management
 
SQL Saturday 86 -- Enterprise Data Mining with SQL Server
SQL Saturday 86 -- Enterprise Data Mining with SQL ServerSQL Saturday 86 -- Enterprise Data Mining with SQL Server
SQL Saturday 86 -- Enterprise Data Mining with SQL Server
 
Data Mining for Developers
Data Mining for DevelopersData Mining for Developers
Data Mining for Developers
 
24 Hours of PASS -- Enterprise Data Mining with SQL Server
24 Hours of PASS -- Enterprise Data Mining with SQL Server24 Hours of PASS -- Enterprise Data Mining with SQL Server
24 Hours of PASS -- Enterprise Data Mining with SQL Server
 
Session 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian MalbeufSession 2: SQL Server 2012 with Christian Malbeuf
Session 2: SQL Server 2012 with Christian Malbeuf
 
Gerry Hughes Bi Portfolio
Gerry Hughes Bi PortfolioGerry Hughes Bi Portfolio
Gerry Hughes Bi Portfolio
 
Msbi online training
Msbi online trainingMsbi online training
Msbi online training
 
Mstr meetup
Mstr meetupMstr meetup
Mstr meetup
 
A Complete BI Solution in About an Hour!
A Complete BI Solution in About an Hour!A Complete BI Solution in About an Hour!
A Complete BI Solution in About an Hour!
 
BI in SQL Server 2008 for Architects
BI in SQL Server 2008 for ArchitectsBI in SQL Server 2008 for Architects
BI in SQL Server 2008 for Architects
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
A Primer To Sybase Iq Development July 13
A Primer To Sybase Iq Development July 13A Primer To Sybase Iq Development July 13
A Primer To Sybase Iq Development July 13
 
World2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverviewWorld2016_T5_S5_SQLServerFunctionalOverview
World2016_T5_S5_SQLServerFunctionalOverview
 

Más de Mark Ginnebaugh

Más de Mark Ginnebaugh (20)

Automating Microsoft Power BI Creations 2015
Automating Microsoft Power BI Creations 2015Automating Microsoft Power BI Creations 2015
Automating Microsoft Power BI Creations 2015
 
Platfora - An Analytics Sandbox In A World Of Big Data
Platfora - An Analytics Sandbox In A World Of Big DataPlatfora - An Analytics Sandbox In A World Of Big Data
Platfora - An Analytics Sandbox In A World Of Big Data
 
Microsoft SQL Server Relational Databases and Primary Keys
Microsoft SQL Server Relational Databases and Primary KeysMicrosoft SQL Server Relational Databases and Primary Keys
Microsoft SQL Server Relational Databases and Primary Keys
 
DesignMind Microsoft Business Intelligence SQL Server
DesignMind Microsoft Business Intelligence SQL ServerDesignMind Microsoft Business Intelligence SQL Server
DesignMind Microsoft Business Intelligence SQL Server
 
San Francisco Bay Area SQL Server July 2013 meetings
San Francisco Bay Area SQL Server July 2013 meetingsSan Francisco Bay Area SQL Server July 2013 meetings
San Francisco Bay Area SQL Server July 2013 meetings
 
Silicon Valley SQL Server User Group June 2013
Silicon Valley SQL Server User Group June 2013Silicon Valley SQL Server User Group June 2013
Silicon Valley SQL Server User Group June 2013
 
Microsoft SQL Server Continuous Integration
Microsoft SQL Server Continuous IntegrationMicrosoft SQL Server Continuous Integration
Microsoft SQL Server Continuous Integration
 
Hortonworks Big Data & Hadoop
Hortonworks Big Data & HadoopHortonworks Big Data & Hadoop
Hortonworks Big Data & Hadoop
 
Microsoft SQL Server Physical Join Operators
Microsoft SQL Server Physical Join OperatorsMicrosoft SQL Server Physical Join Operators
Microsoft SQL Server Physical Join Operators
 
Microsoft PowerPivot & Power View in Excel 2013
Microsoft PowerPivot & Power View in Excel 2013Microsoft PowerPivot & Power View in Excel 2013
Microsoft PowerPivot & Power View in Excel 2013
 
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball ApproachMicrosoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
 
Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012
 
Microsoft Data Mining 2012
Microsoft Data Mining 2012Microsoft Data Mining 2012
Microsoft Data Mining 2012
 
Microsoft SQL Server PASS News August 2012
Microsoft SQL Server PASS News August 2012Microsoft SQL Server PASS News August 2012
Microsoft SQL Server PASS News August 2012
 
Business Intelligence Dashboard Design Best Practices
Business Intelligence Dashboard Design Best PracticesBusiness Intelligence Dashboard Design Best Practices
Business Intelligence Dashboard Design Best Practices
 
Microsoft Mobile Business Intelligence
Microsoft Mobile Business Intelligence Microsoft Mobile Business Intelligence
Microsoft Mobile Business Intelligence
 
Microsoft SQL Server 2012 Cloud Ready
Microsoft SQL Server 2012 Cloud ReadyMicrosoft SQL Server 2012 Cloud Ready
Microsoft SQL Server 2012 Cloud Ready
 
Microsoft SQL Server 2012 Master Data Services
Microsoft SQL Server 2012 Master Data ServicesMicrosoft SQL Server 2012 Master Data Services
Microsoft SQL Server 2012 Master Data Services
 
Microsoft SQL Server PowerPivot
Microsoft SQL Server PowerPivotMicrosoft SQL Server PowerPivot
Microsoft SQL Server PowerPivot
 
Microsoft SQL Server Testing Frameworks
Microsoft SQL Server Testing FrameworksMicrosoft SQL Server Testing Frameworks
Microsoft SQL Server Testing Frameworks
 

Último

Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
gajnagarg
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
vexqp
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
wsppdmt
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
nirzagarg
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Bertram Ludäscher
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
nirzagarg
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
ranjankumarbehera14
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
gajnagarg
 

Último (20)

Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Indore [ 7014168258 ] Call Me For Genuine Models We...
 
Dubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls DubaiDubai Call Girls Peeing O525547819 Call Girls Dubai
Dubai Call Girls Peeing O525547819 Call Girls Dubai
 
Kings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about themKings of Saudi Arabia, information about them
Kings of Saudi Arabia, information about them
 
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
Nirala Nagar / Cheap Call Girls In Lucknow Phone No 9548273370 Elite Escort S...
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...Top Call Girls in Balaghat  9332606886Call Girls Advance Cash On Delivery Ser...
Top Call Girls in Balaghat 9332606886Call Girls Advance Cash On Delivery Ser...
 
7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt7. Epi of Chronic respiratory diseases.ppt
7. Epi of Chronic respiratory diseases.ppt
 
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Vadodara [ 7014168258 ] Call Me For Genuine Models ...
 
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
怎样办理圣地亚哥州立大学毕业证(SDSU毕业证书)成绩单学校原版复制
 
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
如何办理英国诺森比亚大学毕业证(NU毕业证书)成绩单原件一模一样
 
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In Satna [ 7014168258 ] Call Me For Genuine Models We ...
 
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...Reconciling Conflicting Data Curation Actions:  Transparency Through Argument...
Reconciling Conflicting Data Curation Actions: Transparency Through Argument...
 
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
Top profile Call Girls In Bihar Sharif [ 7014168258 ] Call Me For Genuine Mod...
 
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
Gulbai Tekra * Cheap Call Girls In Ahmedabad Phone No 8005736733 Elite Escort...
 
Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1Lecture_2_Deep_Learning_Overview-newone1
Lecture_2_Deep_Learning_Overview-newone1
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
Top profile Call Girls In dimapur [ 7014168258 ] Call Me For Genuine Models W...
 
Digital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham WareDigital Transformation Playbook by Graham Ware
Digital Transformation Playbook by Graham Ware
 
Aspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - AlmoraAspirational Block Program Block Syaldey District - Almora
Aspirational Block Program Block Syaldey District - Almora
 

Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction

  • 1.
  • 2. Silicon Valley SQL Server User Group Tonight’s Agenda May 20, 2014  6:30 – 7:00 pm Food and Networking  7:00 – 7:10 pm Introductions  7:10 – 8:10 pm Patrick Sheehan, Microsoft  8:10 – 8:30 pm Discussion (Q&A)
  • 3. Parent Organizations  Bay Area Association of Database Developers  BAADD www.baadd.org  Professional Association of SQL Server  PASS www.sqlpass.org
  • 5. Upcoming Meetings  San Francisco – Thurs, June 5  Dimensional Modeling, The Basics & Beyond  Dan Bulos, Symmetry  San Francisco – Wed, June 11  SQL Server Implementation Frameworks From Dev to Prod  Prakash Heda, Advent Software
  • 6. Announcements  Attendee Announcements  New Jobs  New Projects  Projects completed  Upcoming learning opportunities
  • 7. Patrick Sheehan  Data Platform Architect at Microsoft’s Silicon Valley Technology Center (SVC MTC)  Previously with Microsoft Consulting Services (MCS) as an engineer, architect, and enterprise strategist  Specialties:  SQL Server  Business Intelligence  Big Data  Enterprise & Solutions Architecture  Cloud Computing
  • 8. SQL Server Analysis Services SSAS – 2012 Fundamentals
  • 9. What is Analysis Services? • Online Analytical Processing (OLAP) engine • Designed for data analysis, mining, and reporting • Contains Databases • Contains Cubes • Cubes are multi-dimensional data sets • Sourced from Facts • Tables which contain measures • …and Dimensions • Tables which contain attributes Reference: http://technet.microsoft.com/en-us/library/bb522625.aspx
  • 10. Use Cases • Data abstraction layer • Ad hoc reporting • Data mining • Data warehousing • Kimball Methodology recommended
  • 11. DEMO
  • 12. Prerequisites • Install SQL Server 2012 + SP1 • Developer Edition, Eval, or Enterprise • Eval (180 day) can be obtained (free) here: http://www.microsoft.com/en- us/download/details.aspx?id=29066 • SQL Server Engine • SQL Server Analysis Services • Workstation Components • SQL Server Data Tools (SSDT) Download SSDT here: http://msdn.microsoft.com/en-us/library/hh272686(v=vs.103).aspx
  • 13. Tutorials Analysis Services Tutorials (SSAS) http://technet.microsoft.com/en-us/library/hh231701.aspx Multidimensional Modeling (Adventure Works Tutorial) http://technet.microsoft.com/en-us/library/db55e226-601a-4026-8651-573195555a59
  • 15.
  • 16. Set up environment • Move .mdf to SQL Server Data directory (e.g. C:Program FilesMicrosoft SQL ServerMSSQL11.SQL2012MSSQLDATA) • Attach .mdf to instance • NOTE: if error is received, it is due to missing log file. Click on the .ldf file listed in the Attach Database dialogue box, then click Remove (a new log file will automatically be created in the default path) • Extract .sln from .zip • Open solution and reset connection strings to local db instance
  • 17. Solution structure • Data Sources node • Connection strings to source • Data Source Views node • XML abstraction layer • Cubes node • Define dim/fact relationships, aggregations (calculations), partitions, mode • Dimensions node • Contains dimensions • Roles node • Define access to cube
  • 18. Cube fundamentals • Measure groups • Contain measures • Set properties (e.g. formatting) • Dimensions • Contain attributes • Set properties (e.g. visibility) • Define relationships (to key & each other) • Define hierarchies • Deployment • Processing • Affects of FULL versus
  • 19. Multi-dimensonal Expression Language (MDX) Example Syntax [ WITH <SELECT WITH clause> [ , <SELECT WITH clause> ... ] ] SELECT [ * | ( <SELECT query axis clause> [ , <SELECT query axis clause> ... ] ) ] FROM <SELECT subcube clause> [ <SELECT slicer axis clause> ] [ <SELECT cell property list clause> ] SELECT NON EMPTY { [Measures].[Reseller Order Quantity], [Measures].[Reseller Gross Profit], [Measures].[Reseller Sales Amount] } ON COLUMNS, NON EMPTY { ([Product].[Product Categories].[Product].ALLMEMBERS * [Date].[Fiscal].[Date].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM [Adventure Works] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS Reference: http://technet.microsoft.com/en-us/library/ms145595.aspx
  • 20. MDX “Heads up” • MDX my look like T-SQL, but do not be fooled! It isn’t! • MDX is a different way to think about data • MDX is designed to provide tabular output from multidimensional sources Reference: http://msdn.microsoft.com/en-us/library/ms145506.aspx Books: MDX Solutions: With Microsoft SQL Server Analysis Services 2005 and Hyperion Essbase – George Spofford (&others) The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling – Ralph Kimball
  • 21. Working with Cubes • Microsoft Excel is #1 app (>1billion worldwide deployments) • Native integration with SSAS • SQL Server Reporting Services (SSRS) • Native integration with SSAS • Multidimensional Programming (see: http://technet.microsoft.com/en-us/library/bb500153.aspx) • ADOMD.NET • .NET provider for communication with SSAS (via XMLA) • Analysis Services Scripting Language (ASSL) • Extends XMLA • Analysis Management Objects (AMO) • SSAS management classes