Building a SSAS Tabular Model Database


Published on

Presentation from Code Mastery-Chicago. Steve Hughes, Principal Consultant

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Building a SSAS Tabular Model Database

  1. 1. Creating a Tabular ModelUsing SQL Server 2012 Analysis ServicesSteve HughesPractice Lead, Data and BI
  2. 2. Agenda» Basics of SQL Server 2012 Analysis Services» VS Multidimensional Model» VS PowerPivot» Creating a Tabular Model – AKA the Demo» Wrap Up
  3. 3. SQL Server 2012 Analysis ServicesOnly two models, really?
  4. 4. 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
  5. 5. Connectivity model or data model? Third-party Reporting Excel SharePoint applications Services PowerPivot Insights» Connectivity » BISM» Data BI Semantic Model Multi- Data model dimensional Tabular » Tabular Business logic MDX DAX » Multidimensional and queries Direct Data access ROLAP MOLAP VertiPaq Query Databases LOB Applications Files OData Feeds Cloud Services
  6. 6. VS Multidimensional ModelsWhat happened to my UDM and why isn’t it good enough?
  7. 7. Multidimensional model differentiators» Tabular » Multidimensional » In memory cache » File based storage » Loose structure » Rigid structure » Data does not need to move » It is best when data is put into a from source star schema » Relational model » Dimensional model » DAX » MDX » Simple » Complex » Smaller » Larger
  8. 8. VS PowerPivotIs a tabular model really PowerPivot for SQL Server?
  9. 9. PowerPivot differentiators» Tabular » PowerPivot » Visual Studio Project » Excel » Deploy to SSAS » Deploy to SharePoint » Size limited to memory » Size limited to 2GB » Supports Partitioning xVelocity »No partitions » DirectQuery and Vertipaq » Vertipaq only » Server Admin tools (e.g. SSMS) » Excel and SharePoint “Admin” » Row level & dynamic security » Workbook file security
  10. 10. 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
  11. 11. Some Notes on DirectQuery» Why? » SQL Server data source only » No calculated columns » DAX support in the model is “limited”, basically can’t be used » Results have been different between DirectQuery and native Tabular » Cause by semantic differences between xVelocity and SQL Server» Why Not? » Security can be implemented at source and in model » No data refresh required
  12. 12. New Features in Both PowerPivot and Tabular» Hierarchies» KPIs» Perspectives» Diagram View (YAY)» New DAX functions» And more…
  13. 13. The Tabular ModelCreating the tabular model in SSAS
  14. 14. Building the tabular model» Source: AdventureWorks (not the DW version)» Plan » Create project » Add data source » Add measure » Add partition » And more …
  15. 15. Wrap UpQ & A and my contact info
  16. 16. Steve Hughes» Practice Lead 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: » Twitter: @DataOnWheels » Email:
  17. 17. Thanks for joining us