如何处理Group(DL)及其子集(DL)上的RLS?

时间:2019-06-11 15:43:12

标签: powerbi powerbi-desktop

我对数据表有RLS的特定要求。我创建了以下两个角色:

1. Normal: It has Distribution list of all my department user. (eg: Everyone@abc.com)
2. Executive: It is sub-set of my department Distribution List which has few user of main DL. (eg:Executive@abc.com)

我的数据表包含以下列:

i. Product
ii. CustomerName
iii. Amount
iv. UserRole : This return "Normal/Executive" and use for filtering data as per UserRole

现在,我已经使用[UserRole] =“ Normal”和[UserRole] =“ Executive”在上述数据表上设置了过滤器。

但是现在,当同时属于DL和该用户的用户同时具有正常和执行角色的数据时,我的RLS /过滤器将失败。

简单来说,如果用户具有执行角色,则不应应用普通角色。

0 个答案:

没有答案