THE SQL Server Blog Spot on the Web

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

SQLBI - Marco Russo

SQLBI is a blog dedicated to building Business Intelligence solutions with SQL Server.
You can follow me on Twitter: @marcorus

DirectSlice and MeasureExpression: the bug is not a bug

A few months ago I wrote about a possible bug using both DirectSlice and MeasureExpression. A few days ago, Edward Melomed answered that the behavior we observed was not a bug but by design: you can read the complete answer on Connect.

The key point is this sentence, that I don't remember has been documented before (and the real reason for this post):

DirectSlice is an optimization that is supposed to take care of the case where there is a default member on a coordinate for which the user guarantees that the results with and without the MeasureExpression are the same. [...] But the requirement is that the application of the MeasureExpression should give the same result as without the expression for that coordinate.

In other words, I was assuming that DirectSlice had the precedence over any MeasureExpression value, and this is not the case. DirectSlice is just an optimization, and you cannot use it to change the semantic of the formula defined in MeasureExpression.

Published Friday, October 16, 2009 4:23 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

Leave a Comment

(required) 
(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

Archives

Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement