简体   繁体   English

如何从 Excel 打开放入 Teams 的 Power Bi 报告

[英]How to open a Power Bi report that is put on Teams from Excel

Hi dear community嗨亲爱的社区

I have a question please.我有一个问题。
I want to open a Power BI report by clicking on an Excel button, but the problem is that the report is on the server, so we use Sharepoint and teams to get the files.我想通过单击 Excel 按钮打开 Power BI 报表,但问题是报表在服务器上,因此我们使用 Sharepoint 和团队来获取文件。
The.pbix file is also put on Teams and I don't know how to open it directly from the Excel button. .pbix 文件也放在 Teams 上,我不知道如何直接从 Excel 按钮打开它。

The report used to be local so I used this code to open it:该报告曾经是本地的,所以我使用以下代码打开它:

Sub cmdOpen_Click()

VBA.Shell "C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe C:\Users\nizar\Desktop\KPI.pbix"

End Sub

But now the report is on Teams, please Help.但现在报告是关于团队的,请帮助。

PS: I can open it as a link, but it will only lead me to Teams where the report is placed, but I want it to open it directly on the application. PS:我可以将它作为链接打开,但它只会将我带到放置报告的团队,但我希望它直接在应用程序上打开它。

A Teams folder is actually a Sharepoint folder in disguise: Teams 文件夹实际上是伪装的 Sharepoint 文件夹:

So you should be able to browse to the folder that contains your file in Teams, and then using the menu you should be able to select "Open In Sharepoint":因此,您应该能够在 Teams 中浏览到包含您的文件的文件夹,然后使用菜单您应该能够 select“在 Sharepoint 中打开”: 在此处输入图像描述

From there, you would use the normal methods of converting a Sharepoint address into a file location.从那里,您将使用将 Sharepoint 地址转换为文件位置的常规方法。

For example:例如:

https://yoursite.sharepoint.com/sites/sitename/document_library/subfolder/test.pdf

Would become:会成为:

\\yoursite.sharepoint.com@ssl\sites\sitename\document_library\subfolder\test.pdf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM