dbTalk Databases Forums  

Re: dimension levels

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


Discuss Re: dimension levels in the microsoft.public.sqlserver.olap forum.



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

Default Re: dimension levels - 02-08-2006 , 05:23 PM






Hi ,

I want to know if it is possible to view different measures at
different members of a diemsion hierarchy. for e.g the dimension has
the following members

client
Matter
Employees

The measure 'leverage' should not exist for employees as it doesnt
apply at that level

And also if it is possible to have different calculations for
calculated members at different levels of a dimension ...any alternate
solutions and ideas will be greatly appreciated.


Thanks


Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: dimension levels - 02-08-2006 , 11:28 PM






Are you using AS 2000 or 2005 - different approaches may be appropriate
in each case?


- Deepak

Deepak Puri
Microsoft MVP - SQL Server

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

Reply With Quote
  #3  
Old   
yongli
 
Posts: n/a

Default Re: dimension levels - 02-09-2006 , 12:21 PM



without knowing the better available options in AS 2005, you can always use
iif() to branch your calculations on different levels.

"afsheen" wrote:

Quote:
Hi ,

I want to know if it is possible to view different measures at
different members of a diemsion hierarchy. for e.g the dimension has
the following members

client
Matter
Employees

The measure 'leverage' should not exist for employees as it doesnt
apply at that level

And also if it is possible to have different calculations for
calculated members at different levels of a dimension ...any alternate
solutions and ideas will be greatly appreciated.


Thanks



Reply With Quote
  #4  
Old   
afsheen
 
Posts: n/a

Default Re: dimension levels - 02-09-2006 , 05:37 PM



Iam using AS 2005

thanks


Reply With Quote
  #5  
Old   
Deepak Puri
 
Posts: n/a

Default Re: dimension levels - 02-09-2006 , 09:53 PM



With AS 2005, instead of iif() you could use scoping in MDX scripts to
customize calculations by attribute address:

http://msdn.microsoft.com/library/de.../en-us/dnsql90
/html/imdxsmss05.asp
Quote:
Introduction to MDX Scripting in Microsoft SQL Server 2005

Richard Tkachuk
Microsoft Corporation

March 2005
Updated June 2005

Summary: This document describes how Multidimensional Expressions (MDX)
for Microsoft SQL Server 2005 can be applied to common business
problems. This document assumes some familiarity with MDX.
...
Quote:


- 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.