dbTalk Databases Forums  

Parent-child Hierarchy

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


Discuss Parent-child Hierarchy in the microsoft.public.sqlserver.olap forum.



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

Default Parent-child Hierarchy - 11-24-2006 , 12:28 PM






Hi,

I have a dimension whith only one atribute that is a parent-child
hierarchy.
My Dimension table is something like this:


Code| ParentCode|
1 null
2 1
3 2
4 2

For example what i can't do when i see the dimension in the cube is to
hide de Code 1,so
that the Code 2 becomes the parent of all the hierarchy.
This dimension hasn't got the property "Hide member if" because it's a
parent-child.
Can anyone help me?

Thanks.


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

Default Re: Parent-child Hierarchy - 11-24-2006 , 04:44 PM






Could you explain why you want to hide Code 1? The "Hide Member If"
property allows "ragged" hierarchies to be created from regular
dimensions, but the "SkippedLevelsColumn" property is used for
parent-child hierachies:

http://msdn2.microsoft.com/en-us/library/ms365406.aspx
Quote:
SQL Server 2005 Books Online

Working with Ragged Hierarchies
...
Hiding Members in a Regular Hierarchy

For a regular hierarchy, use the use the HideMemberIf property of a
level in a hierarchy to hide missing members from end users.
...
Hiding Members in a Parent-Child Hierarchy

To make a parent-child hierarchy ragged, use the SkippedLevelsColumn
property of the parent attribute in the hierarchy to support the ragged
structure.
...
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.