How to Make a Double Bar Graph in Power BI

Cody Schneider

Comparing two sets of data side-by-side is one of the most common tasks in data analysis. Whether you're looking at sales figures from this year versus last year or campaign performance across two different channels, a double bar graph is the perfect way to visualize these comparisons. This tutorial will walk you through exactly how to create a double bar graph in Power BI, step-by-step.

What Exactly is a Double Bar Graph?

A double bar graph places two bars next to each other for each category, making direct comparisons incredibly easy. In Power BI, this visual is officially called a Clustered Bar Chart (for horizontal bars) or a Clustered Column Chart (for vertical bars). The "clustering" part is key - it means the bars for each category are grouped together, rather than stacked on top of each other.

This type of chart is perfect for answering questions like:

  • How did our revenue in Q1 compare to Q2 for each product line?

  • Which marketing channels brought in more leads this month compared to last month?

  • Are projected sales figures lining up against actual sales for each sales rep?

By placing the bars side-by-side, you can instantly spot trends, outliers, and performance gaps without having to jump between two separate graphs or decode a complicated table. It's clean, intuitive, and effective.

Before You Begin: Get Your Data Ready

Power BI is powerful, but it needs well-structured data to work its magic. Before you can build your double bar graph, your data needs to be organized in a way that Power BI can understand. There are two primary ways you can set up your data for a clustered bar chart.

Method 1: Separate Columns for Each Measure

This is the most common format, especially if you're pulling data into a simple spreadsheet. In this structure, each value you want to compare has its own column. The first column holds your categories, and the subsequent columns hold the corresponding values.

For example, if you're comparing sales from 2023 to 2024 for different product categories, your data would look like this:

Method 2: A Single Value Column with a Legend Column

This method is more flexible and is often how data is structured in databases or more advanced data models. In this format, you have one column for your category, one column for your numerical value, and a third column that distinguishes the data series (e.g., the year).

Using the same sales example, the data would be organized like this:

Both methods work perfectly for creating a double bar graph. We'll show you how to handle both structures in the steps below.

Step-by-Step: Creating a Double Bar Graph in Power BI

With your data prepped and ready, it's time to jump into Power BI Desktop. We'll build a double bar graph from scratch, using the first data structure (separate columns) as our primary example.

Step 1: Open Power BI and Load Your Data

First things first, you need to bring your data into your Power BI report.

  1. On the Home tab of the ribbon, click on Get Data.

  2. If your data is in an Excel file, select Excel Workbook. If it's in a different source, find and select the appropriate one.

  3. Navigate to your file, select it, and click Open.

  4. In the Navigator window that appears, Power BI will show you the tables or sheets within your file. Check the box next to the sheet containing your data and click Load.

You'll see your dataset appear in the Data pane on the right-hand side of the screen.

Step 2: Select the "Clustered Bar Chart" Visualization

Now, let's add the chart visual to our report canvas.

  1. In the Visualizations pane (located to the right of the canvas), find the icon for the Clustered bar chart. It looks like a set of horizontal bars grouped together.

  2. Click on the icon. A blank chart placeholder will appear on your report canvas. You can click and drag the corners to resize it as needed.

Step 3: Configure the Chart Fields (The Important Part!)

This is where we tell Power BI what data to show. With the blank chart visual selected, you'll see fields (sometimes called "wells") under the Visualizations pane labeled Y-axis, X-axis, and Legend. We need to drag our data columns into these wells.

For Data Structured with Separate Columns (Method 1)

  1. From the Data pane, find your category column (in our example, "Product Category"). Drag and drop it into the Y-axis well. This sets the labels for each group of bars.

  2. Next, find your two value columns (e.g., "2023 Sales" and "2024 Sales"). Drag both of them into the X-axis well.

And just like that, Power BI instantly generates your double bar graph! It automatically understands that because you placed two different value fields on the X-axis, it should create separate, side-by-side bars for each one within every category.

For Data Structured with a Legend Column (Method 2)

If your data is structured with a single value column and a legend column, the process is slightly different but just as simple.

  1. Drag your category column ("Product Category") into the Y-axis well.

  2. Drag your numeric value column ("Sales") into the X-axis well. At this point, you'll see a single bar for each category, showing the total sales.

  3. Now for the magic part: drag your legend column ("Year") into the Legend well. Power BI will then split the single bar into two - one for each value in your Legend field (2023 and 2024).

Congratulations! You've successfully created a double bar graph.

Customizing Your Chart for Clarity and Impact

A basic chart is good, but a well-formatted chart is great. Power BI offers a ton of customization options to make your visual clean, professional, and easy to read.

To access these options, select your chart, then click the Format your visual icon in the Visualizations pane (it looks like a little paintbrush). Here are a few key adjustments you should make:

1. Edit Colors and Titles

  • Titles: Under the General tab, expand the Title section. You can change the main chart title to something more descriptive, like "2023 vs. 2024 Sales by Product Category."

  • Bar Colors: Back in the Visual tab, expand the Bars section. Here you can change the color for each data series to better match your company's branding or to draw a clearer distinction between the two sets of bars.

  • Axis Labels: Still in the Visual tab, you can customize the fonts, sizes, and colors for the Y-axis and X-axis labels to improve readability.

2. Add Data Labels

Sometimes it's helpful to see the exact value of each bar without having to hover over it. Turn on data labels to make your chart even clearer.

  • Go to the Visual tab in the format pane.

  • Find the Data labels toggle and switch it ON.

  • You can then expand this section to customize the position, font, and size of the numbers appearing on the bars.

3. Manage the Legend

Power BI adds a legend by default so viewers know what each color represents. You can move it or turn it off.

  • Under the Visual tab, expand the Legend section.

  • Here, you can change the position (e.g., Top center, Bottom right) or if your bar colors and chart title are clear enough, you can toggle it off entirely to save space.

Bonus Tip: Use a Clustered Column Chart for Time-Series Data

While we focused on the horizontal bar chart, it's worth noting its vertical cousin: the Clustered Column Chart. The setup is identical - you just select a different icon in the Visualizations pane. The only difference is the axes: your categories go on the X-axis and your values go on the Y-axis.

Clustered column charts are often a better choice when your categories represent a period of time, like months, quarters, or years. We naturally read time progressing from left to right, and a column chart better reflects that pattern.

Final Thoughts

Creating a double bar graph in Power BI is a fundamental skill that opens up huge possibilities for comparative analysis. Once you understand how to structure your data and use the Axes and Legend fields, you can quickly build visuals that highlight key differences and tell a compelling story.

We know that even with a powerful tool like Power BI, the process of structuring data and repeatedly building visualizations can be time-consuming. That's why we created a tool to make data analysis as simple as having a conversation. With Graphed, you can connect your data sources in seconds and just ask for the chart you need - like, "Show me sales from this year versus last year by month as a bar chart" - and get a live, interactive dashboard built for you instantly.