1. Home
2. Docs
3. Documentation
4. Working With Charts
5. Difference Charts

# Difference Charts

Summary: Difference Column Charts are a variation of column charts that are useful to compare a value of a metric between two difference segments.

##### Difference Column Charts

Difference charts are a variation of column charts. They are used to compare two values, whether for two different metrics or the same metric across 2 values of a dimension, by drawing one column inside the other. This is typically used to compare performance across two segments, or comparing two different time intervals. Another useful case is to compare expected vs actual performance in a certain metric.

For example, the below chart draws a comparison between this month and last month in terms of sales. This month data is in blue and last month is in grey.

Column Difference Charts need one metric and two dimensions, with the second dimension having two values only. They can also have two metrics (to compare between them such as actual revenue vs expected revenue) with 0-1 dimension.

##### Chart Options
Option Explanation
X Axis The Dimension used to populate the X axis values.
Series If there is one metric only, this will show the metric used.
If there is a second dimension, this will show the values of the segments of the second dimension (each will be drawn in a different color). The chart will always have only 2 values to compare between them.
Switch Inner and Outer Columns This switches the fields designation of the inner (blue) and outer (grey) columns
Numbers Format Change the format of the numbers used in the Axes, data labels and on-hover data call-outs of the chart.
Legend Location Select the location for the legend that shows the color coding of the colored stacked segments.
Sort X-Axis Select the value by which you would like to sort the X axis. This can be the X axis dimension or the value of any of the segments from the second dimension.
Limit X axis Values This limits the number of values that are drawn across the x Axis. By default, there is no limit.
Show Other category for X axis This aggregates all values that fall beyond the limited number of X axis values into one category called “Other”. This is useful for charts where the higher values are consolidated within the first few segments, as it will aggregate all other segments into other and show as a separate point in the graph. This option is only available if there is a limit set to the X axis.
Rows Per Page Allows to separate the chart into pages. You can go to the next or previous page by the links on the top right corner of the chart.