Skip to main content




The stacked column and line chart in Power BI helps you visualize multiple dimensions and measures. Let me show you how to create a stacked column and line chart in Power BI with an example.

For this Power BI Line and Stacked Column Chart demo, we will use the Excel data source that we created in our previous article.

See the article Connect Power BI to Excel with multiple Excel sheets to understand the Power BI data source.

How to create a stacked column and line chart in Power BI

To create a stacked column and line chart in Power BI, first drag and drop the Field Sales section to the region of the canvas. Automatically create a column chart, as shown below.

line-and-stacked-column-chart-in-power-bi-1-5042530<>line-and-stacked-column-chart-in-power-bi-1-5042530

Next, let me add the name of the product subcategory to the Axis section.

Let me sort the data by product subcategory name in English (by default it is sorted by sales amount). To do this, click on the (3 dots) in the upper right corner and select the Sort by product subcategory name option, as we show below.

line-and-stacked-column-chart-in-power-bi-2-1144460

Click on the stacked column and line chart below the Display section. Converts the column chart to a stacked column and line chart. From the screenshot below, you currently don't see the change, because you need to add a few more fields.

line-and-stacked-column-chart-in-power-bi-3-2664008

Next, we add a customer segment to the Column Series section to make it the stacked column chart.

line-and-stacked-column-chart-in-power-bi-4-2929906

Next, we add the Profit section to the line values to make it the stacked line and column chart.

line-and-stacked-column-chart-in-power-bi-5-9639770

Create a stacked column and line chart in Power BI approach 2

First, click on the Stacked Column and Line Chart below the Display section. You will create a stacked column and line chart with dummy data, as shown in the following screenshot.

line-and-stacked-column-chart-in-power-bi-6-6624335

To add data to the stacked column and line chart in Power BI, we must add the required fields:

Let me drag the Sales Amount from the Fields section to the Column Values field and the Profit field to the Line Values section.

line-and-stacked-column-chart-in-power-bi-7-1421846

Next, let me add the Product Subcategory Name to the Shared Axis section. You can do this by dragging Product Subcategory Name to the shared Axis section. Or just check the Name column of the product subcategory.

Let me sort the data by product subcategory name. To do this, click on the (3 dots) in the upper right corner and select the Sort by product subcategory name option, as we show below.

line-and-stacked-column-chart-in-power-bi-8-5648319

Then add the customer segment to the Column Series section. That's it; we got our stacked column and line chart

line-and-stacked-column-chart-in-power-bi-9-1667311

Hover over any part of a vertical bar to display the Product Subcategory, Customer Segment, and Sales Amount tooltip.

line-and-stacked-column-chart-in-power-bi-10-3721952

Hover over any part of a line to display the Product Subcategory and Benefit tooltip.

line-and-stacked-column-chart-in-power-bi-11-3532945

Let me quick format this stacked column and line chart in Power BI.

NOTE: I suggest you refer to the Stacked Column Chart and Line Formatting article to understand the steps required to format the lines, stacked column colors, title, etc.

line-and-stacked-column-chart-in-power-bi-12-6767789