将报表从 Power BI 服务导出到 Power BI Desktop(预览)Export a report from Power BI service to Desktop (Preview)

在 Power BI Desktop 中,可以通过保存报表并选择“ 发布 ”来导出(也称为“ 下载 ”)报表至 Power BI 服务。In Power BI Desktop, you can export (also referred to as download) a report to Power BI service by saving the report and selecting Publish. 也可以从其他方向导出,并将报表从 Power BI 服务下载至 Desktop。You can also export in the other direction as well, and download a report from Power BI service to Desktop. 无论导出方向如何,导出文件的扩展名都是 .pbix。The extension for files being exported, in either direction, is .pbix.

有几个需要牢记的限制和注意事项,将稍后在本文中讨论。There are a few limitations and considerations to keep in mind, which are discussed later in this article.

下载 .pbix 报表Download the report as a .pbix

若要下载 .pbix 文件,请执行以下步骤:To download the .pbix file, follow these steps:

  1. Power BI 服务编辑视图中,打开要下载的报表。In Power BI service, open the report you want to download in Editing view.
  2. 在菜单栏中,依次选择“文件”>“下载报表”From the menubar, select File > Download report.

    备注

    只能下载在 2016 年 11 月 23 日后使用 Power BI Desktop 创建和更新的报表。The report must have been created using Power BI Desktop after November 23, 2016 - and updated since then - to be able to download the report. 否则,Power BI 服务中的“ 下载报表 ”菜单选项为灰显。If it hasn't, the Download Report menu option in Power BI service is grayed out.

  3. 在创建 .pbix 文件的同时,系统会显示状态横幅来提示你进度。While the .pbix file is being created, a status banner displays the progress. 在文件就绪后,系统会提示你打开或保存此 .pbix 文件。When the file is ready, you'll be asked to open or save the .pbix file. 文件名与报表名相匹配。The name of the file matches the title of the report.

    现在可以选择在 Power BI 服务 (app.powerbi.com) 或 Power BI Desktop 中打开.pbix 文件。You now have the option of opening the .pbix file in either Power BI service (app.powerbi.com) or Power BI Desktop.

  4. 若要立即在 Desktop 中打开报表,请选择“打开”。To immediately open the report in Desktop, select Open. 若要将文件保存到特定位置,请依次选择“保存”>“另存为”。To save the file to a specific location, select Save > Save-As. 如果尚未准备好,请安装 Power BI DesktopIf you haven't already, install Power BI Desktop.

    在 Desktop 中打开报表时,可能会看到警告消息,告知你在 Power BI 服务报表中提供的某些功能在 Desktop 中可能不可用。When you open the report in Desktop, you may see a warning message letting you know that some features available in the Power BI service report may not be available in Desktop.

  5. Power BI Desktop 中的报表编辑器与 Power BI 服务中的报表编辑器非常相似。The report editor in Desktop looks very much like the report editor in Power BI service.

注意事项和疑难解答Considerations and troubleshooting

从 Power BI 服务下载(导出).pbix 文件时,须遵循几个重要的注意事项和限制。There are a few important considerations and limitations associated with downloading (exporting) a .pbix file from Power BI service.

  • 若要下载文件,必须具有编辑报表的权限To download the file, you must have edit access to the report
  • 报表必须使用 Power BI Desktop 创建,且必须在 Power BI 服务中发布。或者,必须已将 .pbix 文件上载到 Power BI 服务中。The report must have been created using Power BI Desktop and been published to the Power BI service, or the .pbix must have been uploaded to the service.
  • 报表的发布或更新日期必须晚于 2016 年 11 月 23 日。Reports must be published or updated after November 23, 2016. 在该日期前发布的报表无法下载。Reports published prior to then are not downloadable.
  • 此功能对最初在 Power BI 服务中创建的报表及内容包均不适用。This feature will not work with reports originally created in the Power BI service, including content packs.
  • 应始终使用 Power BI Desktop 的最新版本打开下载的文件。You should always be using the latest version of Power BI Desktop when opening downloaded files. Power BI Desktop 的非当前版本中可能无法打开下载的 .pbix 文件。Downloaded .pbix files may not open in non-current versions of Power BI Desktop.
  • 如果你的管理员已关闭了导出数据的功能,则该功能在 Power BI 服务中将不可见。If your administrator has turned off the ability to export data, this feature will not be visible in the Power BI service.

后续步骤Next steps

查看有关此功能的 Guy in a Cube 一分钟视频:View the Guy in a Cube one-minute video about this feature:

此外,还有一些其他文章,可帮助你了解如何使用 Power BI 服务Also, here are some additional articles that can help you learn to use Power BI service:

一旦安装了 Power BI Desktop,以下内容可帮助你快速启动和运行:Once you get Power BI Desktop installed, the following content can help you get up and running quickly:

更多问题?More questions? 尝试参与 Power BI 社区Try the Power BI Community