Add a slicer comparison

Contents[Hide]

1. Overview

This walkthrough shows you how to add a slicer comparison, which lets you apply different filter values to a measure and compare the results together.

2. Walkthrough

A slicer comparison measure can be added if you have numeric data (a measure) and a slicer to filter it by.

This example starts with a new metric set, but the same steps can be followed when editing a metric set checked out to you on a dashboard or another view.

2.1. Create a metric set

From the main menu, click New and then Metric Set.

Choose a data source containing numeric data to use as a measure.

In our example, we chose a data cube containing the measure OrderQty, then dragged an extra time dimension hierarchy OrderDate from the Explore window to Rows (adding a hierarchy other than to Slicers is not necessary for a slicer comparison). After re-visualizing to a bar chart in the toolbar, this displays a bar for each year.

Bar chart showing annual data
Bar chart showing annual data

2.2. Add slicers

Add data under Slicers. In this example we dragged the Product hierarchy under Slicers.

Add a slicer
Add a slicer

A slicer allows you to filter the measure values without changing how the data is grouped into rows, columns, or data points. You can choose to filter your slicer, but in this example we will leave its filter value as the default setting All.

2.3. Add a slicer comparison

The slicer comparison adds a 'parallel' version of the measure that's displayed alongside the original but can be filtered differently.

In the toolbar, click Add Slicer Comparison. This can be found under Data Tools if you are editing a view such as a dashboard.

Add a slicer comparison
Add a slicer comparison

In the Slicer Comparison dialog, confirm the Measure that you want to compare with different filtering (in our example there is only one).

Optionally provide a Parallel Slicer Measure Name, or leave it blank to generate one automatically.

Select a measure and optionally enter a name
Select a measure and optionally enter a name

Specify the Slicer Parameter Values for each slicer that you added. In this example, the orders are filtered by the product values Accessories and Bikes.

Click the Submit button at the bottom of the dialog when finished.

Specify slicer parameter values
Specify slicer parameter values

A new slicer measure is added to the metric set and can be seen in the Data Analysis Panel. The visualization is updated to show the newly added slicer measure for comparison.

Updated visualization
Updated visualization

In this example, the slicer comparison allowed us to easily compare the order quantity for Accessories and Bikes (in orange) against the total order quantity for all products (in blue) for each year.

3. Add a filter to change while viewing

The slicer parameter values specified above can be changed while viewing the metric set on a dashboard or another view by adding a filter or a view parameter and connecting it to a parallel slicer parameter.

Tip
If you are editing the metric set on a dashboard when you add the slicer comparison, you can use the Automatically Add Parameter Controls option in the dialog as a shortcut.

For example, add a hierarchy Value filter and connect it to one of the parallel slicer parameters under the slicer measure. (Disconnect it from other parameters, such as the original slicer hierarchy ProductID in this example).

Connect filter to the parallel slicer
Connect filter to the parallel slicer

4. See also

Dundas Data Visualization, Inc.
500-250 Ferrand Drive
Toronto, ON, Canada
M3C 3G8

North America: 1.800.463.1492
International: 1.416.467.5100

Dundas Support Hours:
Phone: 9am-6pm, ET, Mon-Fri
Email: 7am-6pm, ET, Mon-Fri