显示用于创建 Power BI 视觉对象的数据

适用范围:面向商务用户的 Power BI 服务 面向设计者和开发人员的 Power BI 服务 Power BI Desktop 需要 Pro 或 Premium 许可证

Power BI 视觉对象是使用基础语义模型中的数据构造而成的。 如果你对幕后感兴趣,可以使用 Power BI 显示用于创建视觉对象的数据。 Power BI Desktop 和 Power BI 服务中提供了执行此操作的功能,并且几乎适用于所有视觉对象类型。

对于报表中和仪表板上的视觉对象,还可将数据导出到 Excel

使用 Power BI Desktop 中的视觉对象表

使用“视觉对象表”显示视觉对象下的数据。 选择视觉对象后,可从功能区中的“数据/钻取”选项卡访问“视觉对象表”。

Screenshot that shows where to find the Visual table feature in the Data/Drill tab of the Power BI Desktop ribbon.

还可以使用以下选项之一查看数据:

  • 右键单击视觉对象,然后从显示的菜单中选择“以表的形式显示”。

  • 选择视觉对象右上角的“更多选项”(…),再选择“以表的形式显示”。

    Screenshot that shows where to find the Visual table feature in Power BI Desktop. The feature is visible in a shortcut menu.Screenshot that shows where to find the Visual table feature in Power BI Desktop. The feature is visible in the More options menu.

注意

必须将鼠标悬停在视觉对象中的数据点上方,才能在右键单击后看到菜单。

当选择“视觉对象表”或“数据点表”时,Power BI 将显示视觉对象和数据的文本表示形式。 在“水平视图”中,视觉对象显示在画布的上半部分,数据显示在下半部分。

Screenshot that shows a pie chart in Power BI Desktop. Below the chart is a table that shows the details of the data.

可以通过选择画布右上角的图标,在“水平视图”和“垂直视图”之间切换。

Screenshot that shows a pie chart in Power BI Desktop with a data table to its right. In the upper-right corner, an icon is called out.

若要返回报表,请选择画布左上角的“< 返回报表”。

Screenshot that shows the upper-left corner of the Power BI Desktop canvas. Back to report is called out.

使用 Power BI Desktop 中的数据点表

还可以重点关注视觉对象中的一条数据记录,然后深入了解此记录的数据。 若要使用“数据点表”,请选择一个视觉对象,使其处于活动状态。 选择功能区的“数据/钻取”选项卡中的“数据点表”,然后选择视觉对象上的一个数据点或行。

Screenshot that shows Power BI Desktop. A column chart is selected. In the Data/Drill tab of the ribbon, Data point table is called out.

注意

如果功能区中的“数据点表”按钮处于禁用状态并灰显,则意味着所选视觉对象不支持“数据点表”。

此外,还可以右键单击数据元素,并从显示的菜单中选择“以表的形式显示数据点”。

Screenshot that shows a column chart in Power BI Desktop. In a shortcut menu for one of the columns, Show data point as a table is called out.

当选择某个数据元素的“数据点表”,Power BI Desktop 画布会显示与所选元素相关联的所有数据。

Screenshot of a Power BI Desktop canvas. All the data for the selected column element is visible in a table.

注意事项和限制

“以表的形式显示数据点”(Power BI 服务)和“数据点表”(Power BI Desktop) 视图

  • 无法导出到 PDF 或静态 PowerPoint。
  • 仅适用于特定类型的数据。 在 Power BI 服务中,如果将鼠标悬停在数据点上看不到“以表的形式显示数据点”选项,说明视觉对象包含了不支持该选项的数据。 在 Power BI Desktop 中,如果“数据点表”的菜单选项灰显,则说明视觉对象包含不支持它的数据。 例如,如果视觉对象在“值”字段中有度量值,则显示数据点下的数据将不可用。
  • 无法更改这些视图中的数据并将其保存回报表。

“以表的形式显示”(Power BI 服务)和“视觉对象表”(Power BI Desktop) 视图

  • 不支持以下视觉对象类型:卡片、KPI、关键影响因素、问答视觉对象、智能叙事、指标应用视觉对象、分页报表视觉对象、Power Apps for Power BI 视觉对象、ArcGIS map for Power BI 视觉对象、Power Automate for Power BI 视觉对象。
  • 无法导出到 PDF 或静态 PowerPoint。
  • 无法更改数据并将其保存回报表。
  • 视觉对象使用(多维)度量值组中的计算度量值时不支持使用。
  • 连接到实时多维 (MD) 模型时不支持使用。

Power BI 提供各种报表格式和数据管理功能。 请参阅下列资源,其中列举了部分示例: