dbTalk Databases Forums  

mdx hierachy trouble

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


Discuss mdx hierachy trouble in the microsoft.public.sqlserver.olap forum.



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

Default mdx hierachy trouble - 11-23-2005 , 06:02 AM






Have a hierachical dimension with lets say 2 levels - this diemnsion has
children with the same names under each level and when standing on level 2
on a member I need to fetch something from the previous member on the same
member.

How do I do that...?

Hope it's understandable.



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

Default Re: mdx hierachy trouble - 11-23-2005 , 06:25 PM






A more detailed example would make it clearer but, if every member at
level 1 has the same oredered set of children names, then maybe
ParallelPeriod will work:

Quote:
ParallelPeriod([MyDim].Parent.Level,
1, [MyDim].CurrentMember)
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.