Stacked Area Chart in Power BI

How to Create a Stacked Area Chart in Power BI with example?. For this Power BI Stacked Area Chart demonstration, we are going to use the SQL Data Source that we created earlier.

Please refer to Connect Power BI to SQL Server article to understand the Power BI Data Source.

How to Create a Stacked Area Chart in Power BI

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

Stacked Area Chart in Power BI 1

Next, let me add the State Province Name to the Axis section.

Stacked Area Chart in Power BI 2

Click on the Stacked Area Chart under the Visualization section. It automatically converts the Column Chart into a Stacked Area Chart. From the screenshot below, you can see the Stacked Area Chart that shows the Sales Amount by State Province Name.

Stacked Area Chart in Power BI 3

Let me add the Total Product Cost to Values as well. By this, you can compare the Sales Vs Product Cost by State province name.

Stacked Area Chart in Power BI 4

Create a Stacked Area Chart in Power BI – Approach 2

First, click on the Stacked Area Chart under the Visualization section. It automatically creates a Power BI Stacked Area Chart with dummy data, as shown in the below screenshot.

Stacked Area Chart in Power BI 5

To add data to the Stacked Area Chart, we have to add the required fields:

  • Axis: Please specify the Column Name that represents the Stacked Area.
  • Legend: Column that divides the values further
  • Values: Any Numeric value(s) such as sales amount, Order Quantity, Total Sales, etc.

Let me drag the Sales Amount and Total Product Cost from Fields section to Values field.

Stacked Area Chart in Power BI 6

Next, let me add State Province Name to the Axis section. You can do this by dragging State Province to Axis section, or simply checkmark the State Province column.

Stacked Area Chart in Power BI 7

From the above screenshot, you can see that the Stacked area chart is sorted by Sales Amount in descending order. So, let me sort the data by the State Province Name. To do this, click on the … (3 dots) on the top right corner, and select the Sort By State Province Name option as we showed below.

Stacked Area Chart in Power BI 8

Let me do some quick formatting to this Power BI Stacked Area Chart.

NOTE: Formatting options for both Area Chart and Stacked Area Charts are the same. So, I suggest you refer to the Format Area Chart article to understand the steps involved in formatting this Stacked Area Chart.

Stacked Area Chart in Power BI 9

Let me add Product Color to the Legend section to show multiple dimensions.

Stacked Area Chart in Power BI 10