MDX允许成员仅在角色 - 维度数据中设置兄弟姐妹

时间:2022-11-26 09:54:31

Is it possbile to restrict a Role in Dimension Data by allowing him to see only siblings in the parent-child Hierarchy? Example Hierarchy:

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

EMEA              100

  UK               50
     London        30
     Southampton   20

  France           50
      Paris        10
      Lyon         40

To see only:

仅查看:

  EMEA             100
     UK             50
     France         50

MDX允许成员仅在角色 - 维度数据中设置兄弟姐妹

1 个解决方案

#1


1  

I've received the expected result with the following MDX statement

我收到了以下MDX声明的预期结果

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

#1


1  

I've received the expected result with the following MDX statement

我收到了以下MDX声明的预期结果

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