Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parent-Child Dimension Help

Status
Not open for further replies.

zdnh

Programmer
Jan 8, 2008
1
US
Hi All,

I am trying to build a Parent-Child Dimension. In addition to Parent-Child heirarchy, there is additional LeveL heirarchy in my table:

example --
ChildId, ChildName, ParentId, LevelName
1, 'SA', null, 'Top'
2, 'A', 1, 'Level2'
3, 'B', 3, 'Level3'
4, 'XX', null, 'Level2'

Records in the table are recursive. In the above example, if I bulid a parent-child dimension based on ParentID and ChildID, records 1 and 4 show at the same level. How can I incorporate LevelName in my hierarchy?

Appreciate any help that I can get.
 
use compund keys where your member key is ChildID+LevelName and your ParentKey is ParentID+LevelName. I haven't built any Parent Child Dims in SSAS2005 but I do know that you can build the Compound key Directly in the dimension structure on other dimension types.

Paul
---------------------------------------
Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top