1

我有以下 MDX 查询:

select {[Measures].[Internet Sales Amount]} on axis(0), 
DESCENDANTS({[Customer].[Education].[All Customers].[Bachelors],
             [Customer].[Education].[All Customers].[Graduate Degree]},0,LEAVES) on axis(1) ,
DESCENDANTS({[Geography].[Country].[All Geographies].[Australia],
         [Geography].[Country].[All Geographies].[Canada],
         [Geography].[Country].[All Geographies].[France]},0,LEAVES) on axis(2) 
from [Adventure Works]

是什么DESCENDANTS意思0, LEAVES

4

1 回答 1

1

Sounds a strange (generated?) request; it means to return the descendants of the members (specified as the first parameter) in the level of those members. I guess this is equivalent to 0, SELF in that case and therefore equivalent of the members passed as parameter:

{
 [Geography].[Country].[All Geographies].[Australia],
 [Geography].[Country].[All Geographies].[Canada],
 [Geography].[Country].[All Geographies].[France]
}
于 2013-07-08T00:45:31.360 回答