Hi all,I am trying to pull a corporate hierarchy, and there are multiple levels (level 2 (CEO), level 3(SVP) up to level 13).If I use this query, it only returns the records where level 13 is not null. For example, if the record ends on level 9, it will not get returned. [code="sql"]SELECT [Measures].[Records] ON COLUMNS, (DESCENDANTS([Employee Info].[Employees].[Level 13].ALLMEMBERS) * [Employee Info].[Employee ID].[Employee ID].ALLMEMBERS * [Employee Info].[Grp].[Grp].ALLMEMBERS ) DIMENSION PROPERTIES MEMBER_CAPTION ON ROWS FROM [CUBE] CELL PROPERTIES VALUE[/code]Can someone teach me how to get all records regardless whatever level they are null at?Thanks,
↧