Pentaho 五重角色交叉
我正在使用mondrian模式中的角色,我想知道是否可能使两个声明的角色相交 我创建了以下角色: 适用于对特定类型产品有限制的产品经理Pentaho 五重角色交叉,pentaho,roles,mondrian,Pentaho,Roles,Mondrian,我正在使用mondrian模式中的角色,我想知道是否可能使两个声明的角色相交 我创建了以下角色: 适用于对特定类型产品有限制的产品经理 <Role name="product_manager"> <SchemaGrant access="none"> <CubeGrant cube="product" access="all"> <HierarchyGrant hierarchy="product_group" r
<Role name="product_manager">
<SchemaGrant access="none">
<CubeGrant cube="product" access="all">
<HierarchyGrant hierarchy="product_group" rollupPolicy="partial" access="custom">
<MemberGrant member="[product_group].[Wardrobes]" access="all">
</MemberGrant>
</HierarchyGrant>
</CubeGrant>
</SchemaGrant>
</Role>
dim\u产品组
----------------------------------------------
| id_dim_product_group | section
----------------------------------------------
| 1 | Wardrobes
----------------------------------------------
| 2 | Tables
----------------------------------------------
dim\u国家
----------------------------------------------
| id_dim_country | country
----------------------------------------------
| 1 | Italy
----------------------------------------------
| 2 | Germany
----------------------------------------------
“衣柜”和“德国”度假酒店的“产品”和“财务”经理的角色结果应仅在此范围内查看数据
-----------------------------------------------------------------------------
| id_fact_product | price | id_dim_product_group | id_dim_country
---------------------------------------------------------------------------
| 2 | 150 | 1 | 2
---------------------------------------------------------------------------
| 4 | 230 | 1 | 2
---------------------------------------------------------------------------
----------------------------------------
| section | country |
-----------------------------------
| Wardrobes | Germany |
-----------------------------------
| Wardrobes | Germany |
-----------------------------------
感谢您的帮助蒙德里安没有这样的功能。我建议在中创建一个票证 或者,您可以将其发送并传递给您的连接
---------------------------------------------------------------------------
| id_fact_product | price | id_dim_product_group | id_dim_country
---------------------------------------------------------------------------
| 1 | 100 | 1 | 1
---------------------------------------------------------------------------
| 2 | 150 | 1 | 2
---------------------------------------------------------------------------
| 3 | 120 | 2 | 2
---------------------------------------------------------------------------
| 4 | 230 | 1 | 2
---------------------------------------------------------------------------
----------------------------------------------
| id_dim_product_group | section
----------------------------------------------
| 1 | Wardrobes
----------------------------------------------
| 2 | Tables
----------------------------------------------
----------------------------------------------
| id_dim_country | country
----------------------------------------------
| 1 | Italy
----------------------------------------------
| 2 | Germany
----------------------------------------------
-----------------------------------------------------------------------------
| id_fact_product | price | id_dim_product_group | id_dim_country
---------------------------------------------------------------------------
| 2 | 150 | 1 | 2
---------------------------------------------------------------------------
| 4 | 230 | 1 | 2
---------------------------------------------------------------------------
----------------------------------------
| section | country |
-----------------------------------
| Wardrobes | Germany |
-----------------------------------
| Wardrobes | Germany |
-----------------------------------