Power BI 服務中的分析窗格Analytics pane in Power BI service

有了 Power BI 服務的 [分析] 窗格,您就可以將動態「參考線」新增至視覺效果,為重要的趨勢或深入解析提供焦點。With the Analytics pane in Power BI service, you can add dynamic reference lines to visualizations, and provide focus for important trends or insights.

注意

[分析] 窗格只會在您選取報表畫布上的視覺效果時顯示。The Analytics pane only appears when you select a visual on the report canvas.

使用 [分析] 窗格Using the Analytics pane

透過 [分析] 窗格,您可以建立下列類型的動態參考線 (並非所有線都是用於所有視覺效果類型):With the Analytics pane, you can create the following types of dynamic reference lines (not all lines are available for all visual types):

  • X 軸常數線X-Axis constant line
  • Y 軸常數線Y-Axis constant line
  • 最小值線Min line
  • 最大值線Max line
  • 平均值線Average line
  • 最小值線Median line
  • 中間值線Percentile line

若要檢視視覺效果可用的動態參考線,請遵循下列步驟:To view the available dynamic reference lines for a visual, follow these steps:

  1. 選取或建立視覺效果,然後從 [視覺效果] 窗格選取分析圖示 Select or create a visual, then select the Analytics icon from the Visualizations pane.

  2. 針對您要建立的線類型選取向下箭號,以展開其選項。Select the down arrow for the type of line you want to create to expand its options. 在這個案例中,我們選取 [平均值線]。In this case, we'll select Average Line.

    新增平均值線

  3. 若要建立一條新線,請選取 [+ 新增] 並決定將用來建立該線條的量值。To create a new line, select + Add and decide the measure that will be used to create the line. [量值] 下拉式清單會自動從所選的視覺效果填入可用的資料。The Measure dropdown is automatically populated with available data from the selected visualization. 讓我們使用 [開啟商店計數]。Let's use Open store count.

  4. 您可以對您的線條使用各種選項,例如色彩、透明度、樣式及位置 (相對於視覺效果的資料元素)。You have all sorts of options for your line, such as color, transparecy, style, and position (relative to the visual's data elements). 如果您想要為此線條加上標籤,請提供其標題,然後將 [資料標籤] 滑桿移至 [開啟]。If you want to label the line, give it a title and then move the Data label slider to On. 在這個案例中,我們會將這條線的標題設為「平均開啟商店數」,然後自訂其他幾個選項,如下所示。In this case, we'll title the line Avg # Open Stores, and customize a few of the other options as shown below.

    自訂平均值線分析

  5. 請注意顯示在 [分析] 窗格中,[平均值線] 項目旁的數字。Notice the number that appears next to the Average line item in the Analytics pane. 這告訴您視覺效果上目前有多少條動態線及其類型。That tells you how many dyanmic lines you currently have on your visual, and of which type. 如果我們新增 [常數線] 作為商店計數目標 9,您就會看到 [分析] 窗格顯示我們也對這個視覺效果套用了 [常數線] 參考線。If we add a Constant line as a store count goal of 9, you can see that the Analytics pane shows that we now also have a Constant line reference line applied to this visual.

透過 [分析] 窗格,您可以藉由建立動態參考線,醒目提示您感興趣的各種深入解析。There are all sorts of interesting insights you can highlight by creating dynamic reference lines with the Analytics pane.

考量與疑難排解Considerations and troubleshooting

如果您選取的視覺效果無法套用動態參考線 (在這個案例中為 [地圖] 視覺效果),您就會在選取 [分析] 窗格時看到下列內容。If the visual you've selected can't have dynamic reference lines applied to it (in this case, a Map visual), you'll see the following when you select the Analytics pane.

分析無法使用

使用動態參考線的能力取決於使用的視覺效果類型。The ability to use dynamic reference lines is based on the type of visual being used. 下表顯示目前有哪些視覺效果可以使用哪種動態線:The following list shows which dynamic lines are currently available for which visuals:

下列視覺效果可以完整使用動態線:Full use of dynamic lines are available on the following visuals:

  • 區域圖Area chart
  • 折線圖Line chart
  • 散佈圖Scatter chart
  • 群組直條圖Clustered Column chart
  • 群組橫條圖Clustered Bar chart

下列視覺效果只可從 [分析] 窗格使用「常數線」:The following visuals can use only a constant line from the Analytics pane:

  • 堆疊區域圖Stacked Area
  • 堆疊橫條圖Stacked Bar
  • 堆疊直條圖Stacked Column
  • 100% 堆疊橫條圖100% Stacked Bar
  • 100% 堆疊直條圖100% Stacked Column

下列視覺效果目前只有「趨勢線」選項:For the following visuals, a trend line is currently the only option:

  • 非堆疊折線圖Non-stacked Line
  • 群組直條圖Clustered Column chart

最後,非笛卡兒視覺效果目前無法從 [分析] 窗格套用動態線,例如:Lastly, non-Cartesian visuals cannot currently apply dynamic lines from the Analytics pane, such as:

  • 矩陣圖Matrix
  • 圓形圖Pie chart
  • 環圈圖Donut
  • 資料表Table

後續步驟Next steps

Power BI Desktop 中的分析窗格Analytics pane in Power BI Desktop

有其他問題嗎?More questions? 試試 Power BI 社群Try the Power BI Community