SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Microsoft Power BI Technical Overview
Microsoft Power BI Technical OverviewMicrosoft Power BI Technical Overview
Microsoft Power BI Technical Overview
David J Rosenthal
 
Date warehousing concepts
Date warehousing conceptsDate warehousing concepts
Date warehousing concepts
pcherukumalla
 

Tendances (20)

Building Modern Data Platform with Microsoft Azure
Building Modern Data Platform with Microsoft AzureBuilding Modern Data Platform with Microsoft Azure
Building Modern Data Platform with Microsoft Azure
 
Business Intelligence tools comparison
Business Intelligence tools comparisonBusiness Intelligence tools comparison
Business Intelligence tools comparison
 
DAX and Power BI Training - 002 DAX Level 1 - 3
DAX and Power BI Training - 002 DAX Level 1 - 3DAX and Power BI Training - 002 DAX Level 1 - 3
DAX and Power BI Training - 002 DAX Level 1 - 3
 
Azure Synapse Analytics
Azure Synapse AnalyticsAzure Synapse Analytics
Azure Synapse Analytics
 
Introduction to Data Engineering
Introduction to Data EngineeringIntroduction to Data Engineering
Introduction to Data Engineering
 
Building a modern data warehouse
Building a modern data warehouseBuilding a modern data warehouse
Building a modern data warehouse
 
Power BI Overview
Power BI OverviewPower BI Overview
Power BI Overview
 
Introduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse ArchitectureIntroduction SQL Analytics on Lakehouse Architecture
Introduction SQL Analytics on Lakehouse Architecture
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
Modernize & Automate Analytics Data Pipelines
Modernize & Automate Analytics Data PipelinesModernize & Automate Analytics Data Pipelines
Modernize & Automate Analytics Data Pipelines
 
Microsoft Power BI Technical Overview
Microsoft Power BI Technical OverviewMicrosoft Power BI Technical Overview
Microsoft Power BI Technical Overview
 
Date warehousing concepts
Date warehousing conceptsDate warehousing concepts
Date warehousing concepts
 
Moving to Databricks & Delta
Moving to Databricks & DeltaMoving to Databricks & Delta
Moving to Databricks & Delta
 
Power BI Overview
Power BI Overview Power BI Overview
Power BI Overview
 
Power bi introduction
Power bi introductionPower bi introduction
Power bi introduction
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
Big data architectures and the data lake
Big data architectures and the data lakeBig data architectures and the data lake
Big data architectures and the data lake
 
Change Data Feed in Delta
Change Data Feed in DeltaChange Data Feed in Delta
Change Data Feed in Delta
 
Power bi
Power biPower bi
Power bi
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks Delta
 

En vedette

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
 

En vedette (20)

A Gentle Introduction to Microsoft SSAS
A Gentle Introduction to Microsoft SSASA Gentle Introduction to Microsoft SSAS
A Gentle Introduction to Microsoft SSAS
 
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
 

Similaire à 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
 

Similaire à 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
 

Plus de Mark Ginnebaugh

Plus 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
 

Dernier

Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
JohnnyPlasten
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
shambhavirathore45
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 

Dernier (20)

100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 

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