Pie Chart in Power BI

Drag the Pie chart icon from the “Visualizations” pane to the Report view Canvas of Power BI desktop. The initial pie chart in the canvas looks like the following.

Initial chart:

Example 1

In this example, we will learn to get a pie chart which shows Sum of “Sale_amt” based on different brands “Brand”. Set the “Visualizations” pane as shown below by dragging the relevant fields from the “Data” pane from the “SaleData” dataset as mentioned earlier in the previous section of this article.

Output: We get the following pie chart which provides details about different brands in multiple colors with the percentage value contribution for each brand.

Example 2

The following example demonstrates Sum of “Sale_amt” categorized by “Item” further categorized by respective “Brand” of that particular item. The following shows the setting of the visual pane.

Output: The following shows the Sum of “Sale_amt by Item and Brand” with respective details. the user can hover on any pie for selective information.

Video output:

Example 3

This example shows that the pie charts can be displayed in combination with any other Power BI charts for implementig cross-filter feature. Refer to the “Power BI – filters” article for better understanding before starting this.

Let us consider a pie chart of “Sum of Sale_amt by brand” and “by Month”. For “Sum of Sale_amt by month” , we will be considering Power BI bar charts. Drag the bar chart icon to the report canvas next to the pie chart of “Sum of Sale_amt by brand” and set the visual plane as shown below by dragging relevant fields from data pane.

Output: We get the following result clicked on “October” and pie chart result is based on the month selection.

Video output: The following shows the changes that take place when the user changes month from the bar chart. Refer to the article “Understanding filter in Power BI”. Notice the changes when the months selection is changed.

The above pie chart label contents can be changed by setting following “Visualizations” pane for some change in UI pie chart.

Output:

Power BI – Create Pie and Donut Charts

In this article, we will learn to create Pie and Donut Charts using Power BI.

Similar Reads

Pie charts

Pie and Donut Charts are mostly created to show the contributions of different values to a total amount. They are easy to read on charts. Donut charts work best to compare a particular section to the whole rather than comparing individual sections with each other though both show a relation of part to whole....

Difference between Pie and Donut charts

Similar to a pie chart, a doughnut chart also shows the relationship of parts to a whole, but a doughnut chart can contain multiple data series unlike pie charts Each data series in a doughnut chart adds a ring to the chart. The center may hold the first data series. Donut charts have a better visual appeal and data intensity ratio....

Types of Pie charts

There are so many different types of Pie and Donut charts. Some of them are as follows, We will will implementing a very few basic pie and donut charts using Power BI to get the basic hang of its implementations using the tool....

Dataset

The dataset used is “SalesData.xlsx“. Upload the dataset in Power BI and refer to the dataset to follow along with the below-given sections of the article....

Pie Chart in Power BI

Drag the Pie chart icon from the “Visualizations” pane to the Report view Canvas of Power BI desktop. The initial pie chart in the canvas looks like the following....

Donut Charts

Donut charts are very similar to pie charts other than the data displayed in rings , where the ring represents a data series....

Types of Donut charts

Some Donut chart examples are given below...

Example

The similar steps of pie chart to be followed for the implementation with little change. Initially drag the donut chart icon from the “Visualizations” pane to report pane....

Limitations

Due to circular nature, doughnut charts are not easy to read, especially when they display multiple data series. Avoid small slices out of so many categories which is difficult to read analyze. Data points on outer rings may appear larger than data points on inner rings while their actual values may be smaller. Displaying values or percentages in data labels is very useful in a doughnut chart, but if you want to compare the data points side by side, you should use a stacked column or stacked bar chart instead....

Contact Us