SSAS 多维安全角色无法在 PowerBI 服务器(本地)报告上运行

发布于 2025-01-12 01:55:42 字数 1319 浏览 6 评论 0原文

我们正在寻求您的帮助,以在报表上填充来自 SSAS 多维多维数据集的筛选数据,这些数据部署在 PowerBI 报表服务器(本地)上。

目前,当 Power BI 通过实时连接与 SSAS 连接时,所有有权访问报表的用户都将获得所有数据。

为了解决这个问题,我们实施了 SSAS 多维安全角色。 SSAS 多维安全角色与 Excel 和 MS SQL Cube Browser 配合良好。

当用户正常连接时,可以看到所有区域的信息

在此处输入图像描述

但是,当用户连接时作为角色

在此处输入图像描述

只能看到他所在的区域。

在此处输入图像描述

以下是 SSAS 角色配置

在此处输入图像描述

我们使用内置的 username() 函数来获取登录用户信息。

在此处输入图像描述

请注意,每个分支都属于特定区域,并且我们已经完成了分支和用户之间的映射并创建一个桥接表。

简而言之,SSAS 安全角色正在 MS SQL Cube Browser 上运行。

另一方面,下面是 PowerBI 报表服务器,我们允许组织中的每个人查看该报表,但是,我们的目标是根据桥接表中存在的映射将数据填充为其关联分支。

在此处输入图像描述

为了连接数据源,我们提供了配置并与服务帐户连接。

在此处输入图像描述

但是每当我们选中以下选项时,就会出现错误。因此,我们无法冒充用户。

在此处输入图像描述

我们的目标很简单,我们想要连接 PowerBI 报表服务器(在本地) ) 具有 SSAS 多维安全角色的报告,可将来自多维数据集的筛选数据填充到报告上。

或者任何人有任何其他解决方案来填充 PowerBI 报表服务器(本地)报表上的 SSAS 多维多维数据集的筛选数据?

We are seeking for your assistance for populating filtered data from SSAS Multidimensional cube on the Reports, which are deployed on PowerBI Report Server (on prem).

Currently, when Power BI Connect with SSAS Via live connect, all the users who have access the report will the all the data.

To overcome this problem, we implemented the SSAS Multidimensional Security Roles. SSAS Multidimensional Security Role is working fine with Excel and MS SQL Cube Browser.

When the user Connect normally, he is able to see the information of all regions

enter image description here

However, when the user connect as a role

enter image description here

Can only see his region, only.

enter image description here

Below is the SSAS Role Configuration

enter image description here

We use built in username() function to get login user information.

enter image description here

Please note that every branch comes under a specific region, and we already did the mapping between the branches and users and create a bridge table.

In nutshell, SSAS Security Roles are working on the MS SQL Cube Browser.

On the other hand, below is the PowerBI Report Server, we allow everyone in the organization see the report, however, our goal is data will be populated as their associated branch as per the mapping exists in the bridge table.

enter image description here

To connect with the data source, we provided configuration and connect with service account.

enter image description here

But whenever we check the below option, the error will appear. So, we are unable to impersonate the user.

enter image description here

Our goal is simple, we want to connect PowerBI Report Server (on prem) Reports with SSAS Multidimensional Security Role to populate filtered data from cube on the report.

Or anyone have any other solution for populating filtered data from SSAS Multidimensional cube on the PowerBI Report Server (on prem) Reports?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文