Power BI 中的圆环图(教程)Doughnut charts in Power BI (Tutorial)

圆环图类似于饼图,因为它显示部分与整体的关系。A doughnut chart is similar to a pie chart in that it shows the relationship of parts to a whole. 唯一的区别是中心为空,因而有空间可用于标签或图标。The only difference is that the center is blank and allows space for a label or icon.

创建圆环图Create a doughnut chart

这些说明使用零售分析示例创建一个按类别显示本年度销售额的圆环图。These instructions use the Retail Analysis Sample to create a doughnut chart that displays this year's sales by category. 若要继续学习,请下载适用于 Power BI 服务 (app.powerbi.com) 或 Power BI Desktop 的示例。To follow along, download the sample for Power BI service (app.powerbi.com) or Power BI Desktop.

  1. 空白报表页开始,选择“SalesStage”>“销售阶段”字段。Start on a blank report page and select the SalesStage > Sales Stage field. 如果使用的是 Power BI 服务,请确保在 “编辑视图” 中打开报表。If you're using Power BI service, make sure you open the report in Editing View.

  2. 在“字段”窗格中,选择“销售额”>“去年销售额”。From the Fields pane, select Sales > Last Year Sales.

  3. 从可视化对象窗格中,选择圆环图的图标圆环图图标,将条形图转换为圆环图。From the Visualizations pane, select the icon for doughnut chart doughnut chart icon to convert your bar chart to a doughnut chart. 如果“去年销售额”不在“值”区域中,请将它拖动到其中。If Last Year Sales is not in the Values area, drag it there.

  4. 依次选择“”>“类别”,将其添加到图例区域中。Select Item > Category to add it to the Legend area.

  5. (可选)调整大小和图表文本的颜色Optionally, adjust the size and color of the chart's text.

注意事项和疑难解答Considerations and troubleshooting

  • 圆环图值的总和相加必须达到 100%。The sum of the doughnut chart values must add up to 100%.
  • 类别太多会难以查看和解释。Too many categories make it difficult to read and interpret.
  • 圆环图最适用于将特定部分与整体进行比较,而不是将各个部分相互比较。Doughnut charts are best used to compare a particular section to the whole, rather than comparing individual sections with each other.

后续步骤Next steps

Power BI 中的报表Reports in Power BI

Power BI 中的可视化效果类型Visualization types in Power BI

Power BI 报表中的可视化效果Visualizations in Power BI reports

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

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