获取 Power BI DesktopGet Power BI Desktop

Power BI Desktop 允许用户生成高级查询、模型和实现数据可视化效果的报表。Power BI Desktop lets you build advanced queries, models, and reports that visualize data. 通过 Power BI Desktop ,可以生成数据模型、创建报表,并通过发布到 Power BI 服务共享工作。With Power BI Desktop, you can build data models, create reports, and share your work by publishing to the Power BI service. Power BI Desktop 可免费下载。Power BI Desktop is a free download.

可以通过两种方法获取 Power BI Desktop ,以下部分将介绍这两种方法:You can get Power BI Desktop in two ways, each of which is described in the following sections:

  • 直接下载(在计算机上下载并安装包) Download directly (a package you download and install on your computer)
  • 作为 Microsoft Store 的应用安装Install as an app from the Microsoft Store

这两种方法都会将最新版本的 Power BI Desktop 获取到计算机上,但值得注意的是这两种方法存在一些区别,以下部分将具体介绍。Either approach will get the latest version of Power BI Desktop onto your computer, but there are a few differences worth noting, which are described in the following sections.

下载 Power BI DesktopDownload Power BI Desktop

若要下载最新版 Power BI Desktop,可以依次选择 Power BI 服务右上角的下载图标和“Power BI Desktop”。To download the most recent version of Power BI Desktop, you can select the download icon from the upper right corner of the Power BI service, and select Power BI Desktop.

下载最新版 Power BI Desktop

还可以在下面的下载页面中下载最新版 Power BI Desktop:You can also download the latest version of Power BI Desktop from the following download page:

无论选择哪种下载方式,下载 Power BI Desktop 后,系统便会立即提示你运行安装文件:Regardless of which way you choose to download, once Power BI Desktop is downloaded you're prompted to run the installation file:

运行 Power BI Desktop 安装文件

从 2019 年 7 月版本开始,Power BI Desktop 发布为包含所有受支持语言的单个 .exe 安装包 。Beginning with the July 2019 release, Power BI Desktop shipped as a single .exe installation package that contains all supported languages. 32 位和 64 位版本有单独的 .exe 文件。There are separate .exe files for 32-bit and 64-bit versions. 从 2019 年 9 月版本开始,.msi 包已终止,需要 .exe 可执行文件才能安装。The .msi packages were discontinued beginning with the September 2019 release, requiring the .exe executable for installation. 这一方法使分发、更新和安装(尤其是对于管理员来说)变得更为轻松和方便。This approach makes distribution, updates, and installation (especially for administrators) much easier and more convenient. 还可以使用命令行参数自定义安装过程,如后文在安装期间使用命令行选项一节所述。You can also use command-line parameters to customize the installation process, as described in the using command-line options during installation section later in this article.

启动安装包之后,Power BI Desktop 会当作一个应用程序进行安装,并在桌面上运行 。Once you launch the installation package, Power BI Desktop is installed as an application and runs on your desktop.

Power BI Desktop 应用程序在桌面上运行

备注

不支持在同一台计算机上安装下载的 (MSI) 版本和 Microsoft Store 版本的 Power BI Desktop (有时称为“并行” 安装)。Installing the downloaded (MSI) version, and the Microsoft Store version of Power BI Desktop on the same computer (sometimes referred to as a side-by-side installation) is not supported.

作为 Microsoft Store 的应用安装Install as an app from the Microsoft Store

还可以使用以下链接从 Microsoft Store 获取 Power BI Desktop :You can also get Power BI Desktop from the Microsoft Store, using the following link:

从 Microsoft Store 获取 Power BI Desktop 有以下几个优点:There are a few advantages to getting Power BI Desktop from the Microsoft Store:

  • 自动更新 - Windows 在后台自动下载已发布的最新版本,因此你使用的始终是最新版本。Automatic updates - Windows downloads the latest version automatically in the background as soon as it's available, so your version will always be up-to-date.
  • 较小下载 - Microsoft Store 可确保只将每次更新中更改的组件下载到计算机,从而减少每次更新的下载量。Smaller downloads - The Microsoft Store ensures only components that have changed in each update are downloaded to your machine, resulting in smaller downloads for each update.
  • 不需要管理员权限 - 直接下载包并安装后,必须成为管理员才能成功完成安装。Admin privilege is not required - when you download the package directly and install, you must be an administrator for the installation to complete successfully. 如果从 Microsoft Store 获取 Power BI Desktop,则不需要管理员权限 。When you get Power BI Desktop from the Microsoft Store, admin privilege is not required.
  • 已启用 IT 推出 - 可更轻松地部署 Microsoft Store 版本,或向组织中的所有人推出 版本,并可通过适用于企业的 Microsoft Store 提供 Power BI Desktop 。IT roll-out enabled - the Microsoft Store version can more easily be deployed, or rolled-out, to everyone in your organization, and can make Power BI Desktop available through the Microsoft Store for Business.
  • 语言检测 - Microsoft 官方商城版本包括所有受支持的语言,并会在每次启动时查看计算机上使用的语言 。Language detection - the Microsoft Store version includes all supported languages, and checks which language is being used on the computer each time it is launched. 这还会影响 Power BI Desktop 中创建的模型的本地化;例如,内置日期层次结构将匹配创建 .pbix 文件时 Power BI Desktop 所使用的语言。This also affects the localization of models created in Power BI Desktop; for example, built-in date hierarchies will match the language that Power BI Desktop was using when the .pbix file was created.

从 Microsoft Store 安装 Power BI Desktop 时,需要注意以下几个注意事项和限制:There are a few consideration and limitations for installing Power BI Desktop from the Microsoft Store, which include the following:

  • 如果使用 SAP 连接器,可能需要将 SAP 驱动程序文件移动到 Windows\System32 文件夹。If you use the SAP connector, you may need to move your SAP driver files to the Windows\System32 folder.
  • 通过 Microsoft 官方商城安装 Power BI Desktop 的过程不会从 .exe 版本复制用户设置 。Installing Power BI Desktop from the Microsoft Store doesn't copy user settings from the .exe version. 可能需要重新连接到最新数据源并重新输入数据源凭据。You might have to reconnect to your recent datasources and re-enter your data source credentials.

备注

不支持在同一台计算机上安装下载的 (MSI) 版本和 Microsoft Store 版本的 Power BI Desktop (有时称为“并行” 安装)。Installing the downloaded (MSI) version, and the Microsoft Store version of Power BI Desktop on the same computer (sometimes referred to as a side-by-side installation) is not supported. 应先手动卸载 Power BI Desktop ,然后再从 Microsoft Store 下载它You should manually uninstall Power BI Desktop before downloading it from the Microsoft Store

备注

Power BI 报表服务器版本 Power BI Desktop 与本文中介绍的版本分开安装,并且安装步骤也不同。The Power BI Report Server version of Power BI Desktop is a separate and different installation from the versions discussed in this article. 若要了解 Power BI Desktop 的报表服务器版本,请参阅创建 Power BI 报表服务器的 Power BI 报表一文。For information about the Report Server version of Power BI Desktop, see Create a Power BI report for Power BI Report Server.

使用 Power BI DesktopUsing Power BI Desktop

启动 Power BI Desktop 时,将显示欢迎屏幕。 When you launch Power BI Desktop, a Welcome screen is displayed.

Power BI Desktop 欢迎屏幕

如果用户是首次使用 Power BI Desktop (如果安装不是为了升级),系统会提示填写表单,并回答几道问题,或提示必须先登录 Power BI 服务 ,然后才能继续操作。If this is your first time using Power BI Desktop (if the installation is not an upgrade), you'll be prompted to fill out a form and answer a few questions, or sign in to the Power BI service before you'll be able to proceed.

你可以在此处开始创建数据模型或报表,然后在 Power BI 服务上与他人共享。From there, you can begin creating data models or reports, then share them with others on the Power BI service. 请查看文末的详细信息链接,以链接到可帮助你开始使用 Power BI Desktop 的指南。Check out the More information links at the end of this article for links to guides that can help you get started using Power BI Desktop.

最低要求Minimum requirements

以下列表提供了运行 Power BI Desktop 的最低要求:The following list provides the minimum requirements to run Power BI Desktop:

  • Windows 7/Windows Server 2008 R2 或更高版本Windows 7 / Windows Server 2008 R2, or later
  • .NET 4.5.NET 4.5
  • Internet Explorer 10 或更高版本Internet Explorer 10 or later
  • 内存 (RAM): 可用内存至少为 1 GB,建议为 1.5 GB 或以上。Memory (RAM): At least 1 GB available, 1.5 GB or more recommended.
  • 显示器: 建议分辨率至少为 1440x900 或 1600x900 (16:9)。Display: At least 1440x900 or 1600x900 (16:9) recommended. 不建议使用如 1024x768 或 1280x800 等较低分辨率,原因是某些控件(如关闭启动屏幕)需要更高的分辨率才能显示。Lower resolutions such as 1024x768 or 1280x800 are not recommended, as certain controls (such as closing the startup screen) display beyond those resolutions.
  • Windows 显示设置: 如果将显示设置设为将文本、应用和其他项的大小更改为大于 100%,可能看不到某些必须先关闭或响应才能继续使用 Power BI Desktop 的对话框。Windows Display settings: If your display settings are set to change the size of text, apps, and other items to more than 100%, you may not be able to see certain dialogs that must be closed or responded to in order to proceed using Power BI Desktop. 如果遇到此问题,请在 Windows 中依次转到“设置”>“系统”>“显示” ,检查“显示设置” ,再使用滑块将显示设置恢复为 100%。If you encounter this issue, check your Display settings by going to Settings > System > Display in Windows, and use the slider to return display settings to 100%.
  • CPU: 建议为 1 千兆赫 (GHz) 或更快的 x86 或 x64 位处理器。CPU: 1 gigahertz (GHz) or faster x86- or x64-bit processor recommended.

注意事项和限制Considerations and Limitations

我们始终希望你能获得超棒的 Power BI Desktop 使用体验。We always want your experience with Power BI Desktop to be great. 有时,可能会在使用 Power BI Desktop 时遇到问题,因此本部分介绍了解决可能会出现的问题的解决方案或建议。There may be occasions when you run into an issue with Power BI Desktop, so this section contains solutions or suggestions to address issues that might arise.

在安装期间使用命令行选项Using command-line options during installation

安装 Power BI Desktop 时,可以使用命令行开关设置属性和选项。When installing Power BI Desktop, you can set properties and options with command-line switches. 对于管理或辅助整个组织的 Power BI Desktop 安装的管理员来说,这非常有用。This is especially useful for administrators who manage or facilitate the installation of Power BI Desktop across organizations. 这些选项适用于 .msi 和 .exe 安装。These options apply to .msi and .exe installations.

命令行选项Command-line option 行为Behavior
-q、-quiet、-s、-silent-q, -quiet, -s, -silent 静默安装silent install
-passive-passive 安装过程中只显示进度条only show the progress bar during installation
-norestart-norestart 隐藏计算机重启要求suppress the computer restart requirement
-forcerestart-forcerestart 安装后重启计算机而不发出提示restart the computer after installation without a prompt
-promptrestart-promptrestart 如果需要重启计算机,提示用户(默认)prompt the user if computer restart is required (default)
-l<>、-log<>-l<>, -log<> 将安装记录到特定文件,在 <> 中指定文件log the installation to a specific file, with the file specified in <>
-uninstall-uninstall 卸载 Power BI Desktopuninstall Power BI Desktop
-repair-repair 修复安装(如果当前尚未安装,则进行安装)repair the installation (or install if it's not currently installed)
-package、-update-package, -update 安装 Power BI Desktop(只要未指定 -uninstall 或 -repair,这就是默认操作)install Power BI Desktop (default, as long as -uninstall or -repair aren't specified)

还可以使用以下语法参数(这些参数是使用“PROPERTY=VALUE”语法指定的) :You can also use the following syntax parameters, which are specified with a "PROPERTY=VALUE" syntax:

参数Parameter 含义Meaning
ACCEPT_EULAACCEPT_EULA 需要值 1 才能自动接受 EULARequires a value of 1 to automatically accept the EULA
ENABLECXPENABLECXP 值 1 表示加入用来捕获有关产品使用情况的遥测数据的客户体验计划Value of 1 enrolls in the customer experience program that captures telemetry on usage of the product
INSTALLDESKTOPSHORTCUTINSTALLDESKTOPSHORTCUT 值 1 表示将快捷方式添加到桌面Value of 1 adds a shortcut to the Desktop
INSTALLLOCATIONINSTALLLOCATION 安装位置的文件路径File path to where you want it installed
LANGUAGELANGUAGE 区域设置代码(例如 en-US、de-DE、pr-BR),用于强制使用应用程序的默认语言。Locale code, for example en-US, de-DE, pr-BR, to force the default language of the application. 如果未指定语言,Power BI Desktop 会显示 Windows OS 语言。If no language is specified, Power BI Desktop displays the Windows OS language. 用户可以在“选项”对话框中更改此设置。This can be changed by the user in the Options dialog.
REG_SHOWLEADGENDIALOGREG_SHOWLEADGENDIALOG 值 0 表示禁止显示在登录到 Power BI Desktop 之前显示的对话框Value of 0 disables showing the dialog that appears before you have signed in to Power BI Desktop

例如,可以使用以下语法运行它,以便使用德语安装(无任何用户界面):For example, you could run it with the following syntax to install without any user interface, using the German language:

“-quiet LANG=de-DE ACCEPT_EULA=1”

在远程计算机上安装 Power BI DesktopInstalling Power BI Desktop on remote machines

如果使用需要 Windows Installer 文件(.msi 文件)的工具将 Power BI Desktop 部署到你的用户,则可以从 Power BI Desktop 安装程序 .exe 文件中提取 .msi 文件。If you’re deploying Power BI Desktop to your users with a tool that requires a Windows installer file (.msi file) you can extract the .msi file from the Power BI Desktop installer .exe file. 可以使用第三方工具(如 WiX 工具集)来实现此目的。You can use third-party tools such as the WiX Toolset to accomplish this.

备注

作为第三方产品,WiX 工具集选项可能会发生更改,恕不另行通知。As a third-party product, WiX Toolset options might change without notice. 请查看相关文档了解最新信息,并联系其用户邮件列表以获取帮助。Please check their documentation for the most up to date information, and contact their user mailing list for help.

  • 在下载了 Power BI Desktop 安装程序的计算机上,从 WiX 网站 https://wixtoolset.org/ 下载并安装最新版本的 WiX 工具集。On the computer where you downloaded the Power BI Desktop installer, download and install the latest version of the WiX Toolset from the WiX website at https://wixtoolset.org/.

  • 以管理员身份打开命令行窗口,并导航到安装了 WiX 工具集的文件夹。Open a command line windows as an administrator and navigate to the folder where you installed WiX Toolset.

  • 运行以下命令:Run the following command:

    Dark.exe <path to Power BI Desktop installer> -x <output folder>

    例如,运行:For example, run:

    Dark.exe C:\PBIDesktop_x64.exe -x C:\output

  • 输出文件夹将包含一个名为“AttachedContainer”的文件夹,其中包含 .msi 文件。 The output folder will contain a folder named AttachedContainer that includes the .msi files.

无法使用旧版 Power BI DesktopIssues when using previous releases of Power BI Desktop

一些用户在使用 Power BI Desktop 的过时版本时遇到类似以下错误 :Some users encounter an error similar to the following when using an outdated version of Power BI Desktop:

"We weren't able to restore the saved database to the model" 

通常,更新到 Power BI Desktop 的当前版本可解决此问题。Updating to the current version of Power BI Desktop usually solves this issue.

禁用通知Disabling notifications

建议更新到最新版 Power BI Desktop,以利用功能、性能、稳定性和其他改进方面的进步优势。We recommend updating to the most recent version of Power BI Desktop to take advantage of advances in features, performance, stability, and other improvements. 一些组织可能不希望用户更新到每个新版本。Some organizations may not want users to update to each new version. 若要禁用通知,可按以下步骤操作来修改注册表:You can disable notifications by modifying the registry with the following steps:

  1. 使用注册表编辑器转到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Power BI Desktop Using the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Power BI Desktop
  2. 使用以下设置创建新条目:REG_DWORD :DisableUpdateNotificationCreate a new entry there with the following settings: REG_DWORD : DisableUpdateNotification
  3. 将新条目的值设置为“1” 。Set the value of that new entry to 1.

必须重启计算机,更改才能生效。You'll need to restart your computer for the change to take effect.

Power BI Desktop 在加载时未占据整个屏幕Power BI Desktop loads with a partial screen

在某些情况下(包括特定屏幕分辨率配置),一些用户可能会发现 Power BI Desktop 呈现的内容包含大块黑色区域。In certain circumstances, including certain screen resolution configurations, some users may see Power BI Desktop render content with large black areas. 这通常是由于最新操作系统更新所致(它们影响了项的呈现方式),并不是 Power BI Desktop 内容呈现方式的直接结果。This is generally a result of recent operating system updates that affect how items are rendered, rather than a direct result of how Power BI Desktop presents content. 无论如何,大块黑色区域并不像优质视觉对象那样有吸引力,因此,请按以下步骤操作来解决此问题:Regardless, large black areas are not as compelling as great visuals, so to address this issue, take the following steps:

  1. 按“开始”键,再在随即显示的搜索栏中键入“模糊” 一词。Press the Start key and type the world blurry into the search bar that appears.
  2. 在出现的对话框中,选择选项:让 Windows 修复模糊应用。 In the dialog that appears, select the option: Let Windows fix apps that are blurry.
  3. 重启 Power BI Desktop。Restart Power BI Desktop.

在后续 Windows 更新发布后,此问题可能就会得到解决。This issue may resolve after subsequent Windows updates are released.

后续步骤Next steps

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