Loading the documentation…

Compare mode

Compare mode reads one visual as two sides and the change between them, for example two periods. Turn it on for one visual, name the sides, and read the change as extra columns, a series or a split layout; you can also scope a slicer so it filters only one side.

Turn on Compare

  1. Select Edit in the report header. It appears only when you can edit the report; for saving, see Build a report.
  2. Select one visual that supports compare (the list is below), and open its Visual tab.
  3. Find the Comparison section and switch Compare on in its header. The section appears only for visual types that support compare.
  4. Under Show, each output has its own switch: the two sides, Diff and Diff %. The two sides and Diff start on; switch Diff % on to add the percentage.

While Compare is off, the section hints what it will show, using your side names: Turn on to show First and Second side by side, with their difference.

The other sections of the Visual tab are covered on Format a visual.

Which visuals can compare

Compare optionVisuals
Two sides with a differenceBar, Combo, Line, Pie, Donut, Funnel, Key tree, Table, Matrix, KPI
Difference as its own seriesBar, Combo, Line
Split layoutPie, Donut, Funnel

Read the four outputs

An enabled comparison produces up to four outputs, and each one has its own switch under Show:

OutputWhat it reads
Firstthe first side's values
Secondthe second side's values
Diffthe first side minus the second
Diff %the difference as a percentage of the second side

Name the sides and the difference

Add an icon to a difference

Colours follow the sides

Split the visual or plot the difference

By visual type

When the two sides never meet

When a visual groups its rows but no row on the axis carries both sides, every difference would be one-sided, and the tile shows a hint naming your two sides: First and Second do not overlap on this axis; pick a comparable field or turn Compare off. Put a field both sides share on the axis, or turn Compare off.

Legends and Compare

Scope a slicer to one side

Exports and downloads

Questions, answered

Which visuals can I compare?

Compare works on Bar, Combo, Line, Pie, Donut, Funnel, Key tree, Table, Matrix and KPI visuals. Plotting the difference as its own series is offered on Bar, Combo and Line, and the Split layout on Pie, Donut and Funnel.

Why is the Compare switch disabled?

A field sits in the Legend well, and a legend plus two sides would multiply the series. The tooltip reads Remove the Legend field to compare: a legend and two scopes would multiply the series. Remove that field and the switch frees up.

Why did Compare pause after I added a Legend field?

With Compare already on, a legend field pauses it instead of disabling it: the two sides take the legend slot. The section reads Compare is paused while a Legend field is set: the two scopes take the legend slot. Remove the Legend field to compare, or turn Compare off. Remove the field from Legend to resume, or turn Compare off.

Why does one side of my comparison show no values?

A value that appears on only one side has nothing to show on the other, so that cell stays empty. When the two sides do not overlap on the axis at all, every row is one-sided, and the visual shows the overlap hint. Pick fields both sides share, or turn Compare off.

Can I compare more than two periods in one visual?

No. A comparison has exactly two sides. For a third period, add another visual and switch Compare on for it.

How long can a side or difference name be?

Up to 40 characters, trimmed of spaces at either end. A blank name falls back to its default: First, Second, Diff or Diff %.

Why is there no Diff % on my date or text column?

Diff % is only calculated for numeric values, including counts. A date value shows its difference in days, a date and time value in seconds, and a text value shows the two sides only.

What does Diff % show when the second side is zero?

Nothing: the share is undefined when the second side is zero, so the cell stays empty. The absolute Diff still shows.

When do the split panels stack instead of sitting side by side?

With Split set to Auto, panels sit side by side while the tile is at least as wide as it is tall and stack when it is taller than wide; a tile that has not been measured yet counts as wide. Choose Side by side or Stacked to fix the layout yourself.

Do my formatting rules reach the compare columns on a Table or Matrix?

Yes, for the sides and Diff: they keep the cell formatting (background colour, data bars or icons) and the column colour of the value they were split from. Diff % never inherits cell formatting, because it is a ratio on a different scale, but it keeps the column colour. See Cell and column formatting.

How do I make a slicer filter only one side?

Open the slicer's Comparison scope and set Scope to the side you want, or to Both. The Scope label names that side for every slicer scoped to it and for the compare tiles. On a slicer group, the scope reaches every member.

Why is my download of a compared visual refused?

Two of your labels would produce the same download header, and a file cannot carry two identical columns. Give the sides and the difference distinct names, then download again.