dbTalk Databases Forums  

Re: All Other calculated member

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: All Other calculated member in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Deepak Puri
 
Posts: n/a

Default Re: All Other calculated member - 12-11-2006 , 05:51 PM






If you're using AS 2005, there was an issue with the solve order of
query-defined calculated members always being effectively higher than
that of members defined in the cube MDX script - though functionality is
being added in SP2 to allow more flexibility:

http://download.microsoft.com/downlo...-423D-BC8F-B11
ECD4195B4/WhatsNewSQL2005SP2.htm
Quote:
What's New in SQL Server 2005 SP2
...
The SCOPE_ISOLATION property has been added to the MDX CREATE MEMBER
function.

This property enables session-scoped and query-defined calculations to
be resolved before calculations in the cube rather than after.
Quote:
However, you might also be able to get [All Other] to resolve before
[Std Margin %] by using Aggregate():

Member [Customers].[All Other] as
Aggregate([Customers].[Customers].Members - [TopSet])


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
  #2  
Old   
SteveIrwin
 
Posts: n/a

Default Re: All Other calculated member - 12-11-2006 , 07:36 PM






Thank you, Deepak. Yes, we are currently calculating All Other by the method
you described below, however performance is not the best (we have some big
dimensions with lots of members).

I will wait for SP2 to come out.

Steve

"Deepak Puri" wrote:

Quote:
If you're using AS 2005, there was an issue with the solve order of
query-defined calculated members always being effectively higher than
that of members defined in the cube MDX script - though functionality is
being added in SP2 to allow more flexibility:

http://download.microsoft.com/downlo...-423D-BC8F-B11
ECD4195B4/WhatsNewSQL2005SP2.htm

What's New in SQL Server 2005 SP2
...
The SCOPE_ISOLATION property has been added to the MDX CREATE MEMBER
function.

This property enables session-scoped and query-defined calculations to
be resolved before calculations in the cube rather than after.


However, you might also be able to get [All Other] to resolve before
[Std Margin %] by using Aggregate():

Member [Customers].[All Other] as
Aggregate([Customers].[Customers].Members - [TopSet])


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.