Line and Stacked Column Chart in Power BI

Power BI Line and Stacked Column Chart help you visualize multiple dimensions and measures. Let me show you how to Create a Line and Stacked Column Chart with an example.

For this Power BI Line and Stacked Column Chart demonstration, we are going to use the Excel Data Source that we created in our previous article.

Please refer to the Connect Power BI to Excel Multiple Excel Sheets article to understand the Power BI Data Source.

How to Create a Line and Stacked Column Chart in Power BI

To create a Line and Stacked Column Chart on the desktop, first Drag and Drop the Sales from the Fields section to the Canvas region. It automatically creates a Column Chart, as shown below.

Next, let me add the Product Subcategory Name to the Axis section.

Let me sort the data by English Product Sub-category Name (By default, it is sorted by Sales Amount). To do this, click on the … (3 dots) in the top right corner and select the Sort By Product Sub-category Name option, as we showed below.

Click on the Line and Stacked Column Chart under the Visualization section. It converts the Column Chart into a Line and Stacked Column Chart. From the screenshot below, currently, you don’t see the change, because you have to add a few more fields.

Line and Stacked Column Chart in Power BI 3

Next, we are adding a Customer Segment to the Column Series section to convert it into the Stacked Column Chart.

Next, we are adding Profit to the Line Values section to convert it into the Line and Stacked Column Chart.

Line and Stacked Column Chart 5

Create a Line and Stacked Column Chart in Power BI Approach 2

First, click on the Line and Stacked Column Chart under the Visualization section. It will create a Line and Stacked Column Chart with dummy data, as shown in the below screenshot.

Line and Stacked Column Chart 6

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

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

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

Next, let me add the Product Subcategory Name to the shared Axis section. You can do this by dragging the Product Subcategory Name to the shared Axis section. Or simply checkmark the Product Subcategory Name column.

Let me sort the data by Product Subcategory Name. To do this, click on the … (3 dots) in the top right corner and select the Sort By Product Subcategory Name option, as we showed below.

Next, add the Customer Segment to the Column Series section. That’s it; we got our Line and Stacked Column chart

Line and Stacked Column Chart 9

Hover over any portion of a vertical bar shows the tool tip of the Product Subcategory, Customer Segment, and Sales Amount.

Hovering over any portion of a Line shows the tooltip of Product Subcategory and Profit.

Line and Stacked Column Chart 11

Let me do some quick formatting to this Line and Stacked Column Chart in Power BI.

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

Line and Stacked Column Chart 12