Top Banner
Creating a Tabular Model Using SQL Server 2012 Analysis Services Steve Hughes Principal Consultant, Magenic May 2, 2012
17

Creating a Tabular Model Using SQL Server 2012 Analysis Services

Jan 27, 2015

Download

Technology

Code Mastery

At Code Mastery Boston Steve Hughes, Principal Consultant at Magenic, highlights: Basics of SQL Server 2012 Analysis Services, Multidimensional Model, VS PowerPivot, Creating a Tabular Model
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Creating a Tabular Model Using SQL Server 2012 Analysis Services

Steve Hughes Principal Consultant, Magenic

May 2, 2012

Page 2: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Agenda » Basics of SQL Server 2012 Analysis Services

» VS Multidimensional Model

» VS PowerPivot

» Creating a Tabular Model – AKA the Demo

» Wrap Up

Page 3: Creating a Tabular Model Using SQL Server 2012 Analysis Services

SQL Server 2012 Analysis Services Only two models, really?

Page 4: Creating a Tabular Model Using SQL Server 2012 Analysis Services

How many models in SSAS? » BISM (2012)

» Business Intelligence Semantic Model

» UDM (2005-2008 R2)

» Unified Dimensional Model

» Multidimensional Model

» Data Mining Model

» Tabular Model

Page 5: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Connectivity model or data model? » Connectivity

» BISM

» Data

» Tabular

» Multidimensional

BI Semantic Model

Data model

Business logic

and queries

Data access ROLAP MOLAP VertiPaq Direct

Query

MDX DAX

Multi-

dimensional Tabular

Third-party

applications

Reporting

Services Excel PowerPivot

Databases LOB Applications Files OData Feeds Cloud Services

SharePoint

Insights

Page 6: Creating a Tabular Model Using SQL Server 2012 Analysis Services

VS Multidimensional Models What happened to my UDM and why isn’t it good enough?

Page 7: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Multidimensional model differentiators » Tabular

» In memory cache

» Loose structure

» Data does not need to move from source

» Relational model

» DAX

» Simple

» Smaller

» Multidimensional

» File based storage

» Rigid structure

» It is best when data is put into a star schema

» Dimensional model

» MDX

» Complex

» Larger

Page 8: Creating a Tabular Model Using SQL Server 2012 Analysis Services

VS PowerPivot Is a tabular model really PowerPivot for SQL Server?

Page 9: Creating a Tabular Model Using SQL Server 2012 Analysis Services

PowerPivot differentiators » Tabular

» Visual Studio Project

» Deploy to SSAS

» Size limited to memory

» Supports Partitioning

» DirectQuery and Vertipaq

» Server Admin tools (e.g. SSMS)

» Row level & dynamic security

» PowerPivot

» Excel

» Deploy to SharePoint

» Size limited to 2GB

» No partitions

» Vertipaq only

» Excel and SharePoint “Admin”

» Workbook file security

xVelocity

Page 10: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Vertipaq is now xVelocity » Vertipaq has been rebranded into xVelocity

» Vertipaq was too hard to spell and did not contain “x”.

» xVelocity

» In memory, highly optimized data storage and querying engine

» Used in » PowerPivot

» SQL Server Analysis Services – Tabular model

» SQL Server – Column data store

Page 11: Creating a Tabular Model Using SQL Server 2012 Analysis Services

New Features in Both » Hierarchies

» KPIs

» Perspectives

» Diagram View (YAY)

» New DAX functions

» And more…

Page 12: Creating a Tabular Model Using SQL Server 2012 Analysis Services

The Tabular Model Creating the tabular model in SSAS

Page 13: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Building the tabular model » Source: AdventureWorks (not the DW version)

» Plan

» Create project

» Add data source

» Add measure

» Add partition

» And more …

Page 14: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Wrap Up Q & A and my contact info

Page 15: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Steve Hughes » Principal Consultant with Magenic

» Over 15 years with SQL Server

» Chair of Minnesota SQL Server User Group (PASSMN)

» PASS Regional Mentor for US-NorthEast Region

» Contact Info

» Blog: http://www.dataonwheels.com

» Twitter: @DataOnWheels

» Email: [email protected]

Page 16: Creating a Tabular Model Using SQL Server 2012 Analysis Services

More SQL Learning Opportunities » New England SQL Server User Group (http://nesql.org)

» 5/10/2012: How to not be a cranky DBA

» 6/14/2012: Reducing data integration TCO – SQL 2012 Best Practices

» Meets here – MS in Waltham

» Boston BI User Group (http://bostonbi.org)

» Meets on First Tuesday of each month

» Meets here – MS in Waltham

» SQL Saturday #142 – Waltham (http://sqlsaturday.com/142)

» 5/19/2012: 30 sessions on SQL Server

» Event is here – MS in Waltham

Page 17: Creating a Tabular Model Using SQL Server 2012 Analysis Services

Thanks for joining us