行级安全性不适用于带组的 Power BI

Row Level Security not working in Power BI with Groups

我是运行这个奇怪的问题:

规则有什么问题? 另一个奇怪的是,测试规则没问题,当我测试用户时规则不起作用...

有人知道吗? 非常感谢!

典型的"gotcha"是Power BI应用程序工作区(组)设置保留为默认值:成员可以编辑Power BI内容。要使 RLS 起作用,需要将其更改为 成员只能查看 Power BI 内容

您可以通过登录 app.powerbi.com(作为组管理员)并使用左侧导航选择应用程序工作区(组)然后 编辑工作区[=22 来进行此更改=].

这在文档中有描述:

https://docs.microsoft.com/en-us/power-bi/service-admin-rls#using-rls-with-app-workspaces-in-power-bi

如果您将 Power BI Desktop 报表发布到 Power BI 服务中的工作区,角色将应用于只读成员。您需要指明成员只能在工作区设置中查看 Power BI 内容。

Note:

If you have configured the workspace so that members have edit permissions, the RLS roles will not be applied to them. Users will be able to see all of the data.

官方文档Using RLS with workspaces in Power BI