A static chart answers one question. A chart you can click answers the next one too: "and what about just these?" That's selection, and when several charts share a table, one click can narrow all of them at once.

Selecting

Selecting means picking part of a chart: a bar, a slice, a point, a region on a map. Most tools let you:

  • Click one mark to select it.
  • Ctrl-click (Cmd-click on a Mac) to add more marks to the selection.
  • Draw a lasso or a rectangle around a group of points on a scatter, to pick many at once.
  • Click an empty spot, or the same mark again, to clear the selection.

What a selection means is always a set of rows. Clicking the "Noise" bar in a chart of complaint types selects every complaint whose type is Noise. Drawing around a cluster of points selects the rows behind those points.

Cross-filtering

When several charts are built on the same table, a selection in one can filter the others. Click California on a map of new COVID cases by state, and the chart of cases day by day redraws to show only California. That's cross-filtering: the selection crosses from one chart to the rest.

Some tools offer a softer version, cross-highlighting: the other charts keep their full totals, and the selected part is drawn darker inside them. That lets the reader compare the part with the whole: California's cases as a share of each day's national total, not on their own.

In Power BI, both happen automatically between visuals on the same page that share a table, and Edit interactions lets you choose filter, highlight or none for each pair of visuals. Try it on the map and the daily chart below: click a state, or a day.

Loading the interactive...

A worked example

Take a table of grocery shoppers, one row per customer, with how recently they last shopped, how often they shop and how much they spend. A scatter of two of those measures shows every customer as a dot. Draw around a group of dots, say the customers who shop often but spend little, and the panel beside the chart ranks the other fields that set that group apart from everyone else, each difference tested against chance.

A selection explainer on the "Grocery Loyalty Members" dataset: 1,660 rows as points, with a panel that explains any group you circle.
A selection explainer on the "Grocery Loyalty Members" dataset: 1,660 rows as points, with a panel that explains any group you circle.

How to read this Selection explainer Try it in the explorer

The selection turns a picture into a question: who are these people? The answer comes from the rows behind the dots, not from the dots' positions alone.

What a selection hides

A filtered chart shows only what was selected, and it's easy to forget that the rest exists. Three habits help:

  1. Say what's selected. A title or a note that reads "Noise complaints only" stops a reader from taking a filtered total as the whole.
  2. Compare with the whole. Cross-highlighting, or a second chart that stays unfiltered, keeps the full picture in view.
  3. Clear before you conclude. A selection left on from an earlier question quietly changes every chart after it.

Try it

Open a report with two or more charts on the same table. Click one mark and watch which charts change, and whether they filter or highlight. Then find the setting that controls it in your tool, and choose the behavior that fits each pair of charts.

The next lesson looks at filtering on purpose, before you look: slicers and filters, and what they can hide.