Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

James Serra's Blog

James is currently a Senior Business Intelligence Architect/Developer and has over 20 years of IT experience. James started his career as a software developer, then became a DBA 12 years ago, and for the last five years he has been working extensively with Business Intelligence using the SQL Server BI stack (SSAS, SSRS, and SSIS). James has been at times a permanent employee, consultant, contractor, and owner of his own business. All these experiences along with continuous learning has helped James to develop many successful data warehouse and BI projects. James has earned the MCITP Business Developer 2008, MCITP Database Administrator 2008, and MCITP Database Developer 2008, and has a Bachelor of Science degree in Computer Engineering. His blog is at .

SQL Server 2012: Multidimensional vs tabular

To expand on what I talked about in SQL Server 2012 (“Denali”): Details on the next version of SSAS, there is a new data model called Tabular.  So when you are creating a new project, which model should you use, Multidimensional vs Tabular?  Well, there is no clear-cut answer, but there are some factors that can make you choose one over the other:

  • If you want to use DAX, you have to use Tabular
  • If you want to use Power View, you have to use Tabular
  • If your dataset is extremely large, go with Multidimensional
  • If you need writeback support, you have to use Multidimensional
  • If you need access to many different external data sources, choose Tabular
  • If you need complex calculations, scoping, and named sets, choose Multidimensional
  • If you need extreme speed and consistently fast query time, choose Tabular
  • If you need Many-to-Many relationships, choose Multidimensional (can be done in Tabular but difficult)
  • If your solution requires complex modeling, choose Multidimensional
  • If you need any of the following features, you must use Multidimensional: Actions, Custom Assemblies, Custom Rollups, Custom Drillthrough Actions (but BIDS Helper adds support), Linked objects, or Translations

I would recommend going with Tabular if possible, as it is better to use for these reasons:

  • It uses DAX, which is much easier to use than MDX, and least for the basics (but mastering DAX and optimizing DAX is hard)
  • It uses Vertipaq, which is much faster than Multidimensional
  • It uses your existing relational model, so there is usually no need to create a star schema (which usually means using ETL to create new dimension and fact tables in a DataMart).  Complex DAX may require a star schema
  • It is faster to develop
  • It’s less expensive to use in terms of time, resources and skill requirement
  • You can extend the data model without reprocessing the whole database by using calculated columns.  Instead it requires a much faster “Process Recalc”
  • In situations where a multidimensional model requires the use of snapshots (i.e. quantity totals by day), tabular is better because it can avoid snapshots by making up-to-date calculations at query time (thanks to its speed because the data is in memory)
  • In situations where a multidimensional model requires a distinct count (i.e. how many new distinct customers this month), tabular is better because it stores data in a way that discount count is very fast (writing a measure vs changing the data model and reprocessing the data)

Keep in mind the option on creating both types of models against the same data warehouse.  Say you built a multidimensional model before tabular was released, but now want to use Power View.  You can always just build a tabular cube to allow for the use of Power View.

You can also use the tabular model to prototype in since it’s so much easier and quicker to use, and then decide later whether to convert it to a full-blown multidimensional model.  And because of its ease of use, the tabular model could also be used by power business users to prototype a cube in, and then later IT can take that model and enhance it in tabular or convert it to multidimensional (self-service BI at it’s best).

More info:

Why to use #Tabular in Analysis Services 2012 #ssas

Video Vertipaq vs OLAP: Change Your Data Modeling Approach

Decisions: PowerPivot, SSAS Tabular, or SSAS Multidimensional Model in SQL Server 2012

Observations on interoperability between BISM Tabular and OLAP clients

Comparing Tabular and Multidimensional Solutions (SSAS)

So what is the Business Intelligence Semantic Model or BISM really?

Multi-dimensional or Tabular? Which model to use?

Creating Your First Tabular Model (part 1)

Choosing a Tabular or Multidimensional Modeling Experience in SQL Server 2012 Analysis Services

SQL Server 2012 Tabular versus Multidimensional

Video BISM: Multidimensional vs. Tabular

Choosing an Analysis Engine

The choice between Tabular or Multidimensional models in SQL Server Analysis Services 2012

Comments

Leave a comment on the original post [www.jamesserra.com, opens in a new window]

Loading comments...