创建指向 Power BI 移动应用中特定位置的链接Create a link to a specific location in the Power BI mobile apps

可以创建和使用统一资源标识符 (URI) 链接到所有移动平台(iOS、Android 设备和 Windows 10)上 Power BI 移动应用中的特定位置(即 深层链接 )。You can create and use a uniform resource identifier (URI) to link to a specific location (a deep link) within the Power BI mobile apps on all the mobile platforms: iOS, Android devices, and Windows 10.

URI 链接可以直接指向仪表板、磁贴和报表。URI links can point directly to dashboards, tiles, and reports.

深层链接的目标决定了 URI 的格式。The destination of the deep link determines the format of the URI. 请按以下步骤操作,创建指向不同位置的深层链接。Follow these steps to create deep links to different locations.

打开 Power BI 移动应用Open the Power BI mobile app

在任意设备上使用此 URI 打开 Power BI 移动应用:Use this URI to open the Power BI mobile app on any device:

mspbi://app/

打开特定仪表板Open to a specific dashboard

此 URI 可打开 Power BI 移动应用的特定仪表板:This URI opens the Power BI mobile app to a specific dashboard:

mspbi://app/OpenDashboard?DashboardObjectId=<36-character-dashboard-id>

若要查找包含 36 个字符的仪表板对象 ID,请转到 Power BI 服务 (https://powerbi.com) 中的特定仪表板。To find the 36-character dashboard object id, navigate to the specific dashboard in the Power BI service (https://powerbi.com). 有关示例,请参阅以下 URL 中的突出显示部分:For example, see the highlighted section of this URL:

https://powerbi.com/groups/me/dashboards/**61b7e871-cb98-48ed-bddc-6572c921e270**https://powerbi.com/groups/me/dashboards/**61b7e871-cb98-48ed-bddc-6572c921e270**

如果仪表板位于“我的工作区”以外的组中,请在仪表板 ID 前面或后面添加 &GroupObjectId=<36-character-group-id>If the dashboard is in a group other than My Workspace, add &GroupObjectId=<36-character-group-id> either before or after the dashboard ID. 例如:For example,

mspbi://app/OpenDashboard?DashboardObjectId=e684af3a-9e7f-44ee-b679-b9a1c59b5d60&GroupObjectId=8cc900cc-7339-467f-8900-fec82d748248mspbi://app/OpenDashboard?DashboardObjectId=e684af3a-9e7f-44ee-b679-b9a1c59b5d60&GroupObjectId=8cc900cc-7339-467f-8900-fec82d748248

请注意两者之间的 & 号。Note the ampersand (&) between the two.

打开处于焦点模式的特定磁贴Open to a specific tile in focus

此 URI 可打开 Power BI 移动应用中处于焦点模式的特定磁贴:This URI opens a specific tile in focus in the Power BI mobile app:

mspbi://app/OpenTile?DashboardObjectId=<36-character-dashboard-id>&TileObjectId=<36-character-tile-id>

若要查找包含 36 个字符的仪表板和磁贴对象 ID,请转到 Power BI 服务 (https://powerbi.com) 中的特定仪表板,然后打开处于焦点模式的磁贴。To find the 36-character dashboard and tile object IDs, navigate to the specific dashboard in the Power BI service (https://powerbi.com) and open the tile in focus mode. 有关示例,请参阅以下 URL 中的突出显示部分:For example, see the highlighted sections of this URL:

https://powerbi.com/groups/me/dashboards/**3784f99f-b460-4d5e-b86c-b6d8f7ec54b7**/tiles/**565f9740-5131-4648-87f2-f79c4cf9c5f5**/infocushttps://powerbi.com/groups/me/dashboards/**3784f99f-b460-4d5e-b86c-b6d8f7ec54b7**/tiles/**565f9740-5131-4648-87f2-f79c4cf9c5f5**/infocus

对于此磁贴,URI 为:For this tile, the URI would be:

mspbi://app/OpenTile?DashboardObjectId=3784f99f-b460-4d5e-b86c-b6d8f7ec54b7&TileObjectId=565f9740-5131-4648-87f2-f79c4cf9c5f5

请注意两者之间的 & 号。Note the ampersand (&) between the two.

如果仪表板位于“我的工作区”以外的组中,请添加 &GroupObjectId=<36-character-group-id>If the dashboard is in a group other than My Workspace, add &GroupObjectId=<36-character-group-id>

打开特定报表Open to a specific report

此 URI 可打开 Power BI 移动应用中的特定报表:This URI opens a specific report in the Power BI mobile app:

mspbi://app/OpenReport?ReportObjectId=<36-character-report-id>

若要查找包含 36 个字符的报表对象 ID,请转到 Power BI 服务 (https://powerbi.com) 中的特定报表。To find the 36-character report object id, navigate to the specific report in the Power BI service (https://powerbi.com). 有关示例,请参阅以下 URL 中的突出显示部分:For example, see the highlighted section of this URL:

https://powerbi.com/groups/me/reports/**df9f0e94-31df-450b-b97f-4461a7e4d300**https://powerbi.com/groups/me/reports/**df9f0e94-31df-450b-b97f-4461a7e4d300**

打开特定报表页Open to a specific report page

此 URI 可打开 Power BI 移动应用中的特定报表页:This URI opens a specific report page in the Power BI mobile app:

mspbi://app/OpenReport?ReportObjectId=<36-character-report-id>&reportPage=ReportSection<number>

此报表页名为“ReportSection(后跟一个数字)”。The report page is called "ReportSection" followed by a number. 同样,在 Power BI 服务 (https://powerbi.com) 中打开报表,然后转到特定的报表页。Again, open the report in the Power BI service (https://powerbi.com) and navigate to the specific report page.

有关示例,请参阅以下 URL 中的突出显示部分:For example, see the highlighted section of this URL:

https://powerbi.com/groups/me/reports/df9f0e94-31df-450b-b97f-4461a7e4d300/**ReportSection11**https://powerbi.com/groups/me/reports/df9f0e94-31df-450b-b97f-4461a7e4d300/**ReportSection11**

在全屏模式下打开Open in full-screen mode

添加下面用粗体显示的参数,可以在全屏模式下打开特定报表:Add the parameter in bold to open to a specific report in full-screen mode:

mspbi://app/OpenReport?ReportObjectId=<36-character-report-id>**&openFullScreen=true**

例如:For example:

mspbi://app/OpenReport?ReportObjectId=500217de-50f0-4af1-b345-b81027224033&openFullScreen=truemspbi://app/OpenReport?ReportObjectId=500217de-50f0-4af1-b345-b81027224033&openFullScreen=true

添加上下文(可选)Add context (optional)

还可以在字符串中添加上下文。You can also add context in the string. 如果你需要与我们联系,我们可以使用上下文来筛选我们向你的应用发送的数据。Then if you need to contact us, we can use that context to filter our data to your app. 在链接中添加 &context=<app-name>Add &context=<app-name> to the link

有关示例,请参阅以下 URL 中的突出显示部分:For example, see the highlighted section of this URL:

https://powerbi.com/groups/me/reports/df9f0e94-31df-450b-b97f-4461a7e4d300/**&context=SlackDeepLink**https://powerbi.com/groups/me/reports/df9f0e94-31df-450b-b97f-4461a7e4d300/**&context=SlackDeepLink**

后续步骤Next steps

你的反馈将帮助我们决定未来要做什么,如果你想在 Power BI 移动应用中看到其他功能,别忘了向我们提出你的建议。Your feedback helps us decide what to implement in the future, so don’t forget to vote for other features you'd like to see in Power BI mobile apps.