在 Power BI Desktop(预览版)中使用见解Use insights in Power BI Desktop (Preview)

可以让 Power BI Desktop 解释图表中出现的增加或减少情况,并获得有关数据的快速、自动化且深入的分析。You can tell Power BI Desktop to explain increases or decreases in charts, and get fast, automated, insightful analysis about your data. 只需右键单击数据点,然后选择“分析”>“解释此减少情况”(或者如果前一栏较低,则选择“解释此增长情况”),就可以在易用窗口中收到见解。Simply right-click on a data point, and select Analyze > Explain the decrease (or increase, if the previous bar was lower), and insight is delivered to you in an easy-to-use window.

见解功能与上下文相关,并且以紧位于前面的数据点(例如上一栏或列)为基础。The insights feature is contextual, and is based on the immediately previous data point - such as the previous bar, or column.

备注

此功能处于预览状态,可能会发生更改。This feature is in preview, and is subject to change. 从 Power BI Desktop 2017 年 9 月版本开始,见解功能将默认启用并打开(无需勾选“预览”框来启用它)。The insight feature is enabled and on by default (you don't need to check a Preview box to enable it) beginning with the September 2017 version of Power BI Desktop.

使用见解Using insights

要使用见解,只需右键单击条状或线状视觉对象中的任意数据点,然后选择“分析”>“解释此增加情况”(或“解释此减少情况”,因为所有见解都基于上一个数据点的变化)。To use insights, just right-click on any data point in a bar or line visual, and select Analyze > Explain the increase (or Explain the decrease, since all insights are based on the change from the previous data point).

然后,Power BI Desktop 针对数据运行其机器学习算法,并使用视觉对象和说明(介绍哪些类别对增加情况或减少情况的影响最大)填充窗口。Power BI Desktop then runs its machine learning algorithms over the data, and populates a window with a visual and a description that describes which categories most influenced the increase or decrease. 默认情况下,见解以瀑布视觉对象形式提供,如下图所示。By default, insights are provided as a waterfall visual, as shown in the following image.

通过选择瀑布视觉对象底部的小图标,可以选择使见解显示为散点图、堆叠柱形图或功能区图。By selecting the small icons at the bottom of the waterfall visual, you can choose to have insights display a scatter chart, stacked column chart, or a ribbon chart.

在页面顶部提供“很棒”和“很差”图标,这样你就可以提供关于视觉对象和功能的反馈。The thumbs up and thumbs down icons at the top of the page are provided so you can provide feedback about the visual and the feature.

请注意,视觉对象顶部的“+”按钮可让你将选定的视觉对象添加到报表中,就像你手动创建视觉对象一样。And importantly, the + button at the top of the visual lets you add the selected visual to your report, just as if you created the visual manually. 然后,可以格式化或调整添加的视觉对象,类似于在报表上对任何其他视觉对执行的操作。You can then format or otherwise adjust the added visual just as you would to any other visual on your report. 在 Power BI Desktop 中编辑报表时,只能添加选定的见解视觉对象。You can only add a selected insight visual when you're editing a report in Power BI Desktop.

如果报表处于阅读或编辑模式,则可以将见解用于分析数据和创建可轻松添加到报表中的视觉对象。You can use insights when your report is in reading or editing mode, making it versatile for both analyzing data, and for creating visuals you can easily add to your reports.

注意事项和限制Considerations and limitations

由于见解是根据上一数据点变化得出,因此在视觉对象中选择首个数据点时,见解不可用。Since insights are based on the change from the previous data point, they aren't available when you select the first data point in a visual.

以下列表列出了见解目前不受支持的所有情形:The following list is the collection of currently unsupported scenarios for insights:

  • 前 n 个筛选器TopN filters
  • 包括/排除筛选器Include/exclude filters
  • 度量值筛选器Measure filters
  • 非累加性度量值和聚合Non-additive measures and aggregates
  • 值显示为Show value as
  • 筛选的度量值(这是在见解的散点图中使用的新内容)Filtered measures (it’s the new thing we use for scatter chart in insights)
  • X 轴上的类别列(根据列将排序定义为标量的情况除外)。Categorical columns on X-axis unless it defines a sort by column that is scalar. 如果使用层次结构,则有效层次结构中的每一列必须与此条件相匹配If using a hierarchy, then every column in the active hierarchy has to match this condition
  • 非数值度量值Non-numeric measures

此外,目前不支持见解的以下模型类型和数据源:In addition, the following model types and data sources are currently not supported for insights:

  • DirectQueryDirectQuery
  • 实时连接Live connect
  • 本地 Reporting ServicesOn-premises Reporting Services
  • 嵌入Embedding

后续步骤Next steps

有关 Power BI Desktop 以及如何入门的详细信息,请查看以下文章。For more information about Power BI Desktop, and how to get started, check out the following articles.