Power BI 报表中的可视化交互Visualization interactions in a Power BI report

如果具有编辑报表的权限,则可以使用“视觉对象交互”,更改报表页上的可视化效果相互影响的方式。If you have edit permissions for a report, you can use Visual interactions to change how visualizations on a report page impact each other.

默认情况下,报表页上的可视化组件可用于交叉筛选和交叉突出显示页面上的其他可视化组件。By default, visualizations on a report page can be used to cross-filter and cross-highlight the other visualizations on the page. 例如,在地图可视化组件上选择一个州会突出显示柱形图并筛选折线图以便仅显示适用于该州的数据。For example, selecting a state on a map visualization highlights the column chart and filters the line chart to display only data that applies to that one state. 请参阅关于筛选和突出显示See About filtering and highlighting. 如果具有支持钻取的可视化效果,在默认情况下,钻取某个可视化效果不会对报表页上的其他可视化效果造成影响。And if you have a visualization that supports drilling, by default, drilling one visualization has no impact on the other visualizations on the report page. 但可以同时覆盖这两种默认行为,并且可以对每个可视化效果设置交互。But both of these default behaviors can be overridden, and interactions set, on a per-visualization basis.

本文演示如何在 Power BI 服务编辑视图和 Power BI Desktop 中使用“视觉对象交互”。This article shows you how to use Visual interactions in Power BI service Editing view and in Power BI Desktop. 如果已与你共享了报表,你将无法更改视觉对象交互设置。If a report has been shared with you, you will not be able to change the Visual interactions settings.

备注

词语“ 交叉筛选 ”和“ 交叉突出显示 ”用于区分本文描述的行为与使用“筛选器”窗格来筛选和突出显示可视化组件的效果。The terms cross-filter and cross-highlight are used to distinguish the behavior described here from what happens when you use the Filters pane to filter and highlight visualizations.

  1. 选择可视化组件并将其激活。Select a visualization to make it active.
  2. 显示“视觉对象交互”选项。Display the Visual Interactions options.

    • 在 Power BI 服务中,从报表菜单栏中选择下拉列表。In Power BI service, select the dropdown from the report menubar.

    • 在 Desktop 中,选择“格式”>“交互”。In Desktop, select Format > Interactions.

  3. 要打开可视化效果交互控件,请选择“编辑交互”。To turn on the visualization interaction controls, select Edit interactions. Power BI 将交叉筛选和交叉突出显示图标添加到报表页上的所有其他可视化效果中。Power BI adds cross-filter and cross-highlight icons to all of the other visualizations on the report page.

  4. 确定所选的可视化组件需要对其他组件产生的作用。Determine what impact the selected visualization should have on the others. 然后,对报表页上的其他所有可视化效果重复执行此操作(可选)。And, optionally, repeat for all other visualizations on the report page.

    • 如果应交叉筛选可视化效果,则选择“筛选”图标 If it should cross-filter the visualization, select the filter icon .
    • 如果应交叉突出显示该可视化效果,则选择“突出显示”图标 If it should cross-highlight the visualization, select the highlight icon .
    • 如果其不应产生作用,则选择“不起作用”图标 If it should have no impact, select the no impact icon .
  5. 要启用钻取控件,请选择“钻取筛选其他视觉对象”。To turn on drilling controls, select Drilling filters other visuals. 现在,在可视化效果中向下钻取(和向上钻取)时,报表页上的其他可视化效果将发生改变,以反映当前的钻取选择。Now when you drill down (and up) in a visualization, the other visualizations on the report page change to reflect your current drilling selection.

后续步骤Next steps

如何使用报表筛选器How to use report filters

报表中的筛选器和突出显示Filters and highlighting in reports

Power BI - 基本概念Power BI - Basic Concepts

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