Developing with SQL
Server Analysis Services
Mark Tabladillo Ph.D., MVP
Silicon Valley Code Camp
October 5, 2013
Networking
Interactive
About MarkTab
Training and Consulting with
http://marktab.com
Data Mining Resources and Blog at
http://marktab.net
Ph.D. – Industrial Engineering,
Georgia Tech
Training and consulting
internationally across many
industries – SAS and Microsoft
Contributed to peer-reviewed
research and legislation
Mentoring doctoral dissertations at the
accredited University of Phoenix
Presenter
Outline
Computer
Science
SSAS
Fundamentals
Three Types
of Projects
Main Learning Objective
Provide enough vocabulary and code libraries to increase your confidence in coding a
new project when you leave
Outline
Computer
Science
SSAS
Fundamentals
Three Types
of Projects
MarkTab Decision Cycle
Analysis
(science)
Synthesis
(art)
GO
Science needs science fiction -- MarkTab
MarkTab Decision Cycle
Analysis
(science)
Synthesis
(art)
GO
Currency of Science
Notes
Outline
Computer
Science
SSAS
Fundamentals
Three Types
of Projects
Split Personality of SSAS
SS
SQL
AS
NoSQL
Practical Personality of SSAS
SQL Server
SQL Server
Analysis
Services
Data Types
.NET SQL Server
SQL Server
Analysis Services
SQL Server
Integration
Services
Protocol Stack
XML for Analysis
SOAP
TCP
IPv4 IPv6
Application Layer
Presentation Protocol Layer
Transport Protocol Layer
Network Protocol Layer
Client Access
IIS Server
msmdpumpXX.dll
SQL Server Analysis
Services
msmdsrv.exe
HTTP port
TCP/IP
Analysis Services Libraries
Native Code Managed Code/PowerShell
Query Management OLE DB for OLAP/ADOMD/ADO
• optimal
• complex
ADOMD.NET
• Direct to SSAS
• Recommended
Administration DSO plus AMO AMO
State Management
XML/A is for
HTTP
Properties
Specified Every
Time
Data May be
stored on SSAS
Be Prepared for
Disconnections
and Restarts
SSAS uses
Session
Manager
Developer's Guide (Analysis Services)
2012
http://technet.microsoft.com/en-
us/library/bb500153.aspx
Microsoft® SQL Server® 2012 SP1
Feature Pack
http://www.microsoft.com/en-
us/download/details.aspx?id=35580
Three Important Windows Directories
C:Program FilesMicrosoft Analysis ServicesAS OLEDB110
C:Program Files (x86)Microsoft Analysis ServicesAS OLEDB110
C:Program FilesMicrosoft SQL Server110SDKAssemblies
C:Program Files (x86)Microsoft SQL Server110SDKAssemblies
C:Program Files (x86)Microsoft SQL Server 2008 DM Content Viewer
Permissions
SQL Server
•SQL
SQL Server
Analysis Services
•NoSQL
Free eBooks
http://marktab.net/datamining/2013/09/29/free-ebooks-
microsoft/
Outline
Computer
Science
SSAS
Fundamentals
Three Types
of Projects
Data Mining Projects
Microsoft
http://sqlserverdatamining.com
“Data Mining
with SQL Server
2008”
http://www.wiley.com/WileyCDA/WileyTitle/productCd-
0470277742.html
Data Mining References
http://sqlserverdatamining.com
Microsoft® SQL Server® 2012 SP1 Feature Pack
http://marktab.net/datamining/
“Data Mining with SQL Server 2008”
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470277742.html
Data Mining PowerShell
ADOMD.NET with PowerShell 2.0 and C# 4.0
http://marktab.net/datamining/2010/07/22/adomd-net-with-powershell-2-0-and-c-4-0/
Analysis Management Objects (AMO) and PowerShell 2.0
http://marktab.net/datamining/2010/07/26/analysis-management-objects-amo-and-powershell-2-0/
Multidimensional (OLAP) Projects
OLAP Pivot Table
Extensions
https://olappivottableextend.codeplex.com/
Microsoft SQL Server
2008 Analysis
Services Unleashed
http://www.informit.com/store/microsoft-
sql-server-2008-analysis-services-
unleashed-9780672330018
Multidimensional (OLAP) References
Microsoft® SQL Server® 2012 SP1 Feature Pack
http://marktab.net/datamining/
“Microsoft SQL Server 2008 Analysis Services Unleashed”
http://www.informit.com/store/microsoft-sql-server-2008-analysis-services-
unleashed-9780672330018
Accessing OLAP Server Data with ADO .NET
http://www.c-sharpcorner.com/uploadfile/mahesh/accessing-olap-server-data-with-
ado-net/
Microsoft Analysis Services 2005: Displaying a grid using ADOMD.NET and MDX
http://www.codeproject.com/Articles/28290/Microsoft-Analysis-Services-2005-
Displaying-a-grid
Multidimensional (OLAP) Third-Party
DevExpress
http://documentation.devexpress.com/#WindowsForms/CustomDocument11052
Telerik
http://blogs.telerik.com/aspnet-ajax/posts/13-02-19/olap-support-in-radpivotgrid-
for-asp.net-ajax
http://www.telerik.com/help/winforms/pivotgrid-populating-with-data-using-
adomddataprovider.html
http://www.telerik.com/help/wpf/radpivotgrid-data-adomd.html
Tabular Projects
Microsoft
http://aniruddhathengadi.blogspot.com/2013/09/create-
tabular-project-for-newbie.html
Tabular AMO 2012: Tabular
AMO 2012 V2 - release 1.1.0
(July 27, 2013)
http://tabularamo2012.codeplex.com/
Resolving Three Errors: Release 1.1.0
Processing Error
Tabular References
Microsoft® SQL Server® 2012 SP1 Feature Pack
Querying a Tabular Model http://technet.microsoft.com/en-us/library/hh479571.aspx
Create Tabular Project (for newbie) [with SQL Server Data Tools]
http://aniruddhathengadi.blogspot.com/2013/09/create-tabular-project-for-
newbie.html
Creating a Tabular Model with AMO [without SQL Server Data Tools]
http://blogs.msdn.com/b/analysisservices/archive/2011/07/14/creating-a-
tabular-model-with-amo.aspx goes with http://tabularamo2012.codeplex.com/
MarkTab on SSAS Development
Tabular
Data MiningMultidimensional
Interactive
Takeaways
Conclusion
Computer Science
SQL Server Analysis Services Framework
Three Project Types
Data Mining
Multidimensional (OLAP)
Tabular
Connect
Newsletter http://eepurl.com/ELqS9
Data Mining Resources and blog http://marktab.net
Data Mining Training and Consulting (especially Microsoft and SAS)
http://marktab.com
Abstract
SQL Server Analysis Services (SSAS) allows for integrating cubes, tabular model
databases, and data mining with your developed applications and services. This talk
provides a developer’s framework for understanding SSAS and its core ADOMD .NET
and AMO classes. These development options will be demonstrated through
application demos. This session is great for developers already working with SQL
Server, who want to take their development skills to the next level.

Developing with SQL Server Analysis Services 201310