針對任何大小最佳化 Power BI 視覺效果Optimize a Power BI visual for any size

您可以將儀表板或報表中的視覺效果設定為「回應式」,不管是什麼樣的螢幕大小,都能以動態方式變更,顯示最多的資料與深入解析。You can set the visuals in your dashboard or report to be responsive, to change dynamically to display the maximum amount of data and insight, no matter the screen size.

視覺效果的大小變更時,Power BI 會排定資料檢視的優先順序,例如自動移除邊框,並將圖例移至視覺效果頂部,如此一來即使視覺效果變小,也能充分表達資訊。As a visual changes size, Power BI prioritizes the data view, for example removing padding and moving the legend to the top of the visual automatically, so the visual remains informative even as it gets smaller. 對於手機上 Power BI 行動應用程式中的視覺效果而言,回應能力特別實用。Responsiveness is especially useful in visuals in the Power BI mobile app on phones.

調整回應式視覺效果大小

您可以使用 X 和 Y 軸及交叉分析篩選器,開啟任何視覺效果的回應能力。You can turn on responsiveness for any visual with X and Y axes, and slicers.

在 Power BI Desktop 中開啟回應能力Turn on responsiveness in Power BI Desktop

  1. 在 Power BI Desktop 的 [檢視] 索引標籤上,確定您是在 [桌面配置] 中。In Power BI Desktop, on the View tab, make sure you're in Desktop Layout.

    電腦版面配置圖示

  2. 選取視覺效果,然後在 [視覺效果] 窗格中選取 [格式] 部分。Select a visual, and in the Visualizations pane select the Format section.
  3. 展開 [一般] > 將 [回應式] 切換為 [開啟]。Expand General > slide Responsive to On.

    回應式開啟

    現在,當您建立已為手機最佳化的報表並新增此視覺效果時,它就會適當調整大小。Now when you create a report optimized for the phone and add this visual, it will resize gracefully.

在 Power BI 服務中開啟回應能力Turn on responsiveness in the Power BI service

您可以在 Power BI 服務中,開啟報表視覺效果的回應能力。You turn on responsiveness for a visual in a report in the Power BI service. 您必須能夠編輯報表。You need to be able to edit the report.

  1. 在 Power BI 服務的報表中 (https://powerbi.com),選取 [編輯報表]。In a report in the Power BI service (https://powerbi.com), select Edit Report.
  2. 選取視覺效果,然後在 [視覺效果] 窗格中選取 [格式] 部分。Select a visual, and in the Visualizations pane select the Format section.
  3. 展開 [一般] > 將 [回應式] 切換為 [開啟]。Expand General > slide Responsive to On.

    回應式開啟

    現在,當您建立儀表板的手機檢視並新增此視覺效果時,它就會適當調整大小。Now when you create a phone view of a dashboard and add this visual, it will resize gracefully.

後續步驟Next steps