cancel
Showing results for 
Search instead for 
Did you mean: 

DESCENDANTS( ... , ... , LEAVES) - How to Simulate in BW

Former Member
0 Kudos

Hello,

I'm trying to write a MDX statement to get data from a BW Query that contains dimensions with hierarchies. I like to get the full level path for the dimension hierarchies along with the characteristic values, but I don't want to get any totals for the different levels.

MS Analysis Server provides the DESCENDANTS-function with the LEAVES-flag for this purpose:

DESCENDANTS( [DIM HIER].DEFAULTMEMBER, [DIM HIER].[LEVEL09], LEAVES)

But unfortunately the MDX for BW does not support the LEAVES flag, it only supports SELF, BEFORE and AFTER.

Does anybody have an idea how to code the MDX to get the desired results excluding the totals for the Hierarchy levels?

Greetings

Lars Riewe

Software Developer

Munich

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos