ssas - A complex ragged hierarchy and generic queries in MDX with compound keys -


dimension made collection of key column attributes so:

...    hierarchylevel2key = level2attribute + level1attribute hierarchylevel1key = level1attribute ... 

hierarchy has many levels, in lowest levels of hierarchy, key combinations quite complex:

[dim].[hierarchy].[level1].&[level2]&[level3]&[level4]&[level5]&[level6]&[level7] 

now if want make generic named set level5 members, it's in mdx:

[dimension].[hierarchy].[level5].members.item(2) 

and returns second member of level5, because hierarchy ragged (?) item(2) not exist.

.

do have make gazillion of different named sets , manually have pick right existing items sets?

or alternatively have made mistake building dimension hierarchy way ?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -