Stacked Column Chart in Power BI

Power BI Stacked Column Chart is useful to visualize multiple dimensions against a single measure. Let me show you how to Create a Stacked Column Chart in Power BI with example.

For this Power BI Stacked Column Chart demonstration, we are going to use the SQL Data Source that we created in our previous article. So, Please refer Connect Power BI to SQL Server article to understand the Data Source in Power BI.

How to Create a Stacked Column Chart in Power BI

To create a Stacked Column Chart in Power BI, first Drag and Drop the Sales Amount from Fields section to Canvas region. It automatically creates a Column Chart.

Stacked Column Chart in Power BI 1

By clicking the Stacked column Chart under the Visualization section, it automatically converts the Column Chart into Stacked Column Chart

Stacked Column Chart in Power BI 2

Next, let me add Color to Axis section to create a Column chart that shows Sales Amount by Color.

Stacked Column Chart in Power BI 3

Next, we are adding Sales Territory Region Name to Legend section to convert it into the Stacked Column Chart.

Stacked Column Chart in Power BI 4

Hover over any section of a vertical bar shows the Tool-tip of Territory, Color, and its Sales Amount

Stacked Column Chart in Power BI 5

This time, we replaced the Color with State Province Name in Axis Section. From the screenshot below, you can see, Territory Region Name is acting as the Bar Color. It is because You can’t group the Territory inside a State ( State Name Inherited from Territory).

Stacked Column Chart in Power BI 6

Hover over any vertical bar shows the Tool-tip of State Name, Territory, and its Sales Amount

Stacked Column Chart in Power BI 7

Create a Stacked Column Chart in Power BI Approach 2

First, click on the Stacked Column Chart under the Visualization section. It creates a Stacked Column Chart with dummy data.

Stacked Column Chart in Power BI 8

To add data to the Power BI Stacked Column Chart, we have to add the required fields:

  • Axis: Please specify the Column that represents the Vertical Bars.
  • Legend: Specify the Column to divide the Vertical Bars.
  • Values: Any Numeric value such as sales amount, Total Sales etc.

Let me drag the Sales Amount from the Fields section to the Values field, and Color field to the Axis Section.

Stacked Column Chart in Power BI 9

Next, add the Sales Territory Region Name from DimSalesTerritory table to the Legend section. You can do this by dragging Territory to Legend section, or simply checkmark the Sales Territory Region Name column

Stacked Column Chart in Power BI 10

Let me do some quick formatting to this Stacked Column Chart

NOTE: I suggest you refer to the Format Stacked Column Chart article to understand the steps involved in formatting the Stacked Column Colors, Title, etc.

Stacked Column Chart in Power BI 11