Stop 11 · Visualization & Report DesignTopics · 3/12

Bar, Line and Combo Charts

Part of the Power BI Roadmap

In short

Most good reports are built from three chart types. Bars compare things, lines show change over time, and a combo puts a percentage on top of rupees so you see both stories in one visual.

Bar and column charts compare categories, line charts show change over time, and combo charts combine both, like sales as columns and margin % as a line on a secondary axis.

The jaadu flies a kite above a row of toy buildings of different heights, the kite string curving gracefully over the rooftops.

Think of it like this

Buildings and a kite string

Picture a row of buildings in a Mumbai skyline: you instantly see which is tallest. That's a bar chart. Now picture a kite's string rising and dipping across the sky: that's a line, showing movement over time. A combo chart is the kite flying over the buildings, two different things on one picture.

Watch it happen

Column vs line, and when to combine

Bar / column

  • Compares categories: regions, products, stores
  • Bars must start at zero
  • Horizontal bars suit long names
  • Sort by value, not alphabetically

Line

  • Shows change over time
  • Axis doesn't need to start at zero
  • Up to 3 or 4 lines before it gets messy
  • Best with a continuous date axis

Use a combo (Line and clustered column) when two measures share the same axis but different scales, like Sales in rupees and Margin % as a line.

The big ideas

What you need to know

Horizontal for names

"Personal Care & Hygiene" won't fit under a column. Turn it sideways with a bar chart and sort descending.

Lines need time

Put Month Start or Date on the X axis. A line across unordered categories suggests a trend that doesn't exist.

Secondary axis with care

In a combo, the line gets its own Y axis. Label both clearly so nobody reads 25% as ₹25.

Remove the clutter

Turn off gridlines and data labels you don't need. Keep one highlight colour for the point that matters.

How it works

Making a sales and margin combo

  1. 1

    Pick the visual

    Insert a Line and clustered column chart.

  2. 2

    X axis

    Drop 'Date'[Month Start] and set the type to continuous or categorical.

  3. 3

    Columns

    Put Total Sales in Column y-axis.

  4. 4

    Line

    Put Margin % in Line y-axis. It gets its own secondary axis.

  5. 5

    Tidy up

    Name both axes, format Margin % as a percentage and give the chart a title that states the finding.

See it in code

Walk through the code

dax
1Total Sales = SUM ( Sales[Amount] )2 3Total Cost =4SUMX ( Sales, Sales[Qty] * RELATED ( Product[Unit Cost] ) )5 6Margin % =7DIVIDE ( [Total Sales] - [Total Cost], [Total Sales] )

1/3Rupee sales for the columns.

The two measures for a combo: Total Sales as columns and Margin % as the line.

Save yourself the pain

Common mistakes

Oops

A line chart with Region on the X axis.

Do this instead

Regions aren't in order, so use bars. Save lines for dates.

Oops

Starting a bar chart's axis at ₹8 lakh to make small differences look dramatic.

Do this instead

Bars show value by length, so start at zero. If differences are small, say so in the title.

Oops

A combo chart with three lines and four column series.

Do this instead

Stick to one or two measures per axis. Split the rest into separate charts.

Your mission

Three charts, three questions

~25 min

Quick check

You want to show monthly sales and the margin percentage on one chart. Which visual fits best?

Go deeper

  1. 1Sort bar charts by value, not alphabetically.
  2. 2Build a combo chart with sales and margin %.
  3. 3Remove unnecessary gridlines and data labels.

More topics at this stop

Stuck on this topic? Ask an Insider

Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.

Download
InsideEdge