根据当前用户筛选 Power BI 报告

编程入门 行业动态 更新时间:2024-10-23 16:14:56
本文介绍了根据当前用户筛选 Power BI 报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我们目前正在为我们公司开发 Power BI 仪表板 (Office 365),并希望根据当前用户的偏好定制仪表板上的信息.

We're currently developing a Power BI Dashboard (Office 365) for our company and would like to tailor the information on the dashboard based on the current user's preferences.

我们公司有多个部门和子部门,所以把每个部门的数据都展示给所有用户会适得其反.

Our company has multiple departments and sub-departments, so to display every department's figures to all users would be counter-productive.

例如,如果 Bob 在欧洲销售 - 他只会看到欧洲销售,而 Sue 只会看到美国销售.

For example if Bob is in Sales for Europe - he'll only see European sales, while Sue will only see Sales for America.

PowerBI 是否可以识别当前用户,然后根据用户的偏好(存储在 SQL 表中)从 SSAS 多维数据集中过滤结果?

Is there a way PowerBI can identify the current user and then filter the results from the SSAS cube based on the user's preferences (which are store on a SQL table)?

我想这可以通过 M Query 语句完成,但我不确定如何使用它来过滤结果.

I would imagine this could be done via the M Query statement, but I'm unsure on how to use it to filter the results.

推荐答案

听起来您已经有了 SSAS 多维数据集?多维?首先在 SSAS 中设置基于角色的安全性.如果你有定义谁应该看到什么的 SQL 表(或者在你的情况下这听起来像是用户偏好,所以谁想要看到什么)然后使用动态安全性:hccmsbi.blogspot/2007/08/implementing-user-specific-security-in.html

It sounds like you have an SSAS cube already? Multidimensional? First setup role based security in SSAS. If you have SQL tables that define who should see what (or in your case it sounds like a user preference, so who wants to see what) then use dynamic security: hccmsbi.blogspot/2007/08/implementing-user-specific-security-in.html

然后安装 Power BI Enterprise Gateway:powerbi.microsoft/en-us/documentation/powerbi-gateway-enterprise/

Then install the Power BI Enterprise Gateway: powerbi.microsoft/en-us/documentation/powerbi-gateway-enterprise/

然后将其连接到 SSAS:powerbi.microsoft/en-我们/文档/powerbi-gateway-enterprise-manage-ssas/

Then connect it to SSAS: powerbi.microsoft/en-us/documentation/powerbi-gateway-enterprise-manage-ssas/

您将需要 SQL Server 2012 SP1 CU4 或更高版本的 SSAS.您将需要企业版或 BI 版 SSAS.每个用户都需要一个 Power BI Pro 许可证.

You will need SQL Server 2012 SP1 CU4 or later on SSAS. You will need Enterprise or BI Edition SSAS. And you will need a Power BI Pro license for each user.

更多推荐

根据当前用户筛选 Power BI 报告

本文发布于:2023-10-30 11:50:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1542772.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:报告   用户   Power   BI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!