THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | Join | Help
in Search

SQLBI - Marco Russo

SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server

Why to use #Tabular in Analysis Services 2012 #ssas

A few months ago I gave a speech at SQLBits 9 comparing Vertipaq vs. OLAP (you can watch session recording here), which I repeated a few times in other conferences and webcasts. The title was intentionally provocative but it contained an explanation of the real content – in fact it is “Vertipaq vs OLAP: Change Your Data Modeling Approach”. In these days I’m realizing how huge the impact of this technology will be, and how I just scratched the surface of this revolution happening in the BI Modeling world. Regardless you watched the session or not (and you may have another good reason to do that after reading this post), let’s try to see what’s happening from another point of view.

How do you model a BI Solution? Well, you can have a data warehouse or not, you can apply SQLBI Methodology or another of your choice (there are many of them, yes). But, at the end, you create a star schema. Maybe a snowflake one, even if it is almost always a bad idea. But a snowflake schema can be converted in a star schema, so let’s go for that. You have to conform your data model to a well known pattern that can be easily digested by an Analysis Services cube. I mean, a Multidimensional model. And that’s fine, it works great, millions of customers are very happy with that.

But then, someone comes with a question that was not planned in advance. Someone says “I’d like to analyze customer behavior, define a cluster of my customers based on cube slicing and dicing and then I want to know if in this specific month for this promotion they bought more or less than their single individual average over the last three months”. And they expect this to be doable and fast. At this point you have several options:

  • Talk about the next football/baseball/NBA/rugby match hoping he’ll forget what he asked for;
  • Finally show your master level of MDX and write a geeky MDX query that doesn’t work in Excel and cannot be browsed in an Excel PivotTable (users seems not able to appreciate how nice is writing your custom client code with AMO – except a few Italian speaking people, who understand that AMO is just the first single person present of the verb LOVE, even if for an inexplicable reason most of them tend to associate the word with the noun fishhook, which has the same spelling in Italian);
  • Change the data model in Analysis Services, only to realize that you have to change the Data Mart design and the ETL, pushing the business logic of a query down to the ETL implementation, for the happiness of those guys who worked hard to pump data in your ultimate data model that should have been able to answer to any query from any user at any time.

Well, I tried all of them, and I can say that the last one is the most expensive and the only one that really makes the user happy for 5 minutes, until he realizes he just would like to see something else he hadn’t thought before. And this process is called knowledge discovery, is perfectly well known, described in the books and if only he would be able to formulate a question within a predictable path, we would live in a better world. But, hey, I’m a consultant, there are no issues, just opportunities. At least until an opportunity moves beyond the horizon of the profitability ROI line.

Are you with me? Have you experienced all of this? (If you’re not a consultant, you can just replace “profitability ROI” with “acceptable quality of working life”, which is the equivalent concept - a consultant never experience the notion of a life beyond the work and would not understand the expression at all, simply reporting a Connect item to the Word team in order to fix the Spelling and Grammar checker).

Well, now there is Analysis Services 2012. You can create models in Multidimensional or Tabular. At first, Tabular has less features than Multidimensional, it’s simpler and you can define a model that looks like a Multidimensional one. You can create a Tabular model that, connecting from Excel, appears exactly like a Multidimensional one. It could be faster, it could be easier to develop, but at the end it will seem offering the same features to the end user. Apparently, nothing is changed. At least, if you are lazy enough to not think you can do more.

A few months after my talk at SQLBits I continue to see new reasons to move to Tabular just for two capabilities that are hidden in the marketing stuffs, but are really incredible important from a data modeling point of view:

  • You can query data using relationships that are not defined in the data model as “regular” relationships
  • You can extend the data model without reprocessing the whole database by using calculated columns

These two features adds a fourth option to answer to the question that originated this blog post. And the fourth option is:

  • Just do it

I’m not saying it’s easy. But by moving your DAX skills to an expert level, you are able to write complex queries keeping good performance without requiring to change the underlying the data model. Translated in practical terms: happy customer, problem solved, out of office in time to watch your favorite football/baseball/NBA/rugby/whatever match on TV.

A few months after my talk at SQLBits I continue to see new reasons to move to Tabular just for the flexibility it allows if you want to query it. If you tried OLAP in the past and it was too rigid in data modeling for your requirements, give Tabular a chance. You have to learn it deeper than a casual user, but you will found an unexplored territory of new data modeling and reporting opportunities. (How many articles have you read about querying Tabular from Reporting Services?)

Next mission: convince IT Pros to not virtualize a SSAS box with Tabular because it is much more convenient to spend money on fast CPU, not too many cores, large and fast memory, cheap disks. Tactic: design a fancy dashboard for the CEO and getting immunity to fight against the SAN lobbies (Thomas would use a less polite term here).

Published Thursday, March 01, 2012 2:43 PM by Marco Russo (SQLBI)
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Introducing SQL Roundup « Sam Vanga's Blog said:

March 2, 2012 6:35 AM
 

SQL Server ???Denali???: Details on the next version of SSAS | James Serra's Blog said:

March 5, 2012 1:17 AM
 

Lilly said:

I went to Microsoft  SQL Saturday / Pass event last Saturday in the Silicon Valley, in one of the sessions the presenter told us that the industry is posed to move away from MOLAP to Tabular and he actually mentioned you as pioneer (NOT  his exact words)

March 5, 2012 12:21 PM
 

Marco Russo (SQLBI) said:

Well, I wouldn't suggest to move a working MOLAP cube to Tabular today and I'm still starting new projects in MOLAP these days.

What I clearly see is that there are opportunities in Tabular thanks to the flexibility, but these are very early days and we lack of new client tools able to take advantage of the new model. Power View is just one, but there is space for more.

Thanks for your comment!

Marco

March 5, 2012 3:26 PM
 

HarshB said:

Hi Marco,

When you say there is space for more client tools -

a. do you mean a client tool like the old Proclarity - but with more features appropriate for BISM/DAX ?

b. Or do you mean more capabilities within Excel?

c. other ideas?

I remember your post:

http://sqlblog.com/blogs/marco_russo/archive/2010/01/04/microsoft-doesn-t-play-the-traditional-bi-client-game.aspx

Thanks

March 6, 2012 6:33 PM
 

Marco Russo (SQLBI) said:

I mean both.

Take a look at XLCubed, for example, they have an Excel add-in that will support DAX very soon (weeks).

Stay tuned!

Marco

March 6, 2012 6:39 PM
 

Marco Russo said:

Da pochi giorni è stato finalmente rilasciato Microsoft SQL Server 2012. Per avere una sintesi delle

March 9, 2012 1:44 AM
 

HarshB said:

http://cwebbbi.wordpress.com/2012/02/28/natural-and-unnatural-hierarchies-in-the-ssas-2012-tabular-model/

Hey Marco,

Just wondering - based on the new findings by Chris Webb in the above post - how deep do you think the following capability will be?

"You can query data using relationships that are not defined in the data model as “regular” relationships "

I am very interested in this topic - as it can enable some new data analysis techniques.

Thanks

March 9, 2012 7:01 PM
 

Marco Russo (SQLBI) said:

Hierarchies in Tabular are not related (by now) to specific features in tabular, they serve more as a support for Multidimensionaland MDX  compatibility. You can of course use them in MDX, but by now not in DAX.

But I think there will be some evolution in future releases of Tabular...

Marco

March 10, 2012 6:18 AM
 

Analysis Services vs PowerPivot | Alexandr Volok said:

March 24, 2012 4:55 AM
 

The Data Quality Chronicle » Blog Archive » Data Discovery Links from Twitter March 25, 2012 » The Data Quality Chronicle said:

March 25, 2012 7:12 AM
 

SQL Server 2012: Multidimensional vs tabular | James Serra's Blog said:

April 4, 2012 11:00 AM
 

max conde said:

hi marco

starting new in bi, which technologie would you choose?

April 16, 2012 12:43 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

About Marco Russo (SQLBI)

Marco Russo is a consultant, writer and trainer specialized in Business Intelligence with Microsoft technologies. He runs the SQLBI.COM website, which is dedicated to distribute resources useful for BI developers, like Integration Services components, Analysis Services models, tools, technical information and so on. Marco is certified as MCT, MCDBA, MCSD.NET, MCSA, MCSE+I.

This Blog

Syndication

News

TechEd North America 2012
Microsoft SQL Server & Business Intelligence Conference 2012
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement