MDX Allow member set only siblings in Roles-Dimension 数据

MDX Allow member set only siblings in Roles-Dimension Data

是否可以通过允许他在父子层次结构中只看到兄弟姐妹来限制维度数据中的角色? 示例层次结构:

EMEA              100

  UK               50
     London        30
     Southampton   20

  France           50
      Paris        10
      Lyon         40

只看:

  EMEA             100
     UK             50
     France         50

我收到了以下 MDX 语句的预期结果

 NONEMPTY(
    descendants(
       [Dim Branch Hierarchies].[Branch Hierarchy]
       ,,leaves
    )
  , (
     [Measures].[GrantedHi]
    ,StrtoMember( 
        "([Dim Users].[Account Name].[Account Name].["+ Username()+ "])" 
     )
    ) 
)