简体   繁体   中英

MDX query from cube with filtre of part of the hierarchy

I have query:

select {[Measures].[Fact]} on columns,
    non empty(
         {[Divisions].[Division hierarchy].[LVL1]**.&[30672].Children.ALLMEMBERS**},
         {[Показатели].[Показатели].ALLMEMBERS}
    ) on rows FROM [PnL] where ([Date].[YM].[Month].&[201712])

How should I write it correctly? I need all the branch of a part of the hierarchy

没有所有成员的.children就足够了,或者使用DESCENDANTS函数

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM