We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Filtering

Filtering controls what data people see when they open and interact with a dashboard. Good filtering makes dashboards feel focused. Bad filtering can make them feel confusing or broken – especially to people who haven't used filters before.

The idea is to show the right data by default while still allowing flexibility.

If users constantly have to fix filters, the dashboard is doing too much.

Report-Level Filters

Report-level filters apply to every page in a report. These are useful when:

  • The dashboard is meant for a specific audience.
  • Certain data should never be shown.
  • You want a consistent default view.

Examples include filtering to a single year or excluding test data.

Page-Level Filters

Page-level filters apply only to the current page. These work well when:

  • Different pages answer different questions.
  • Each page focuses on a specific topic.
  • You want control without affecting the entire report.

Visual-Level Filters

Visual-level filters affect only one visual. These are helpful when:

  • A chart needs a specific subset of data.
  • You want to highlight top or bottom values.
  • One visual should behave differently from others.

Visual-level filters are powerful, but easy to forget. Always document or label them clearly!

Default Filter States

Filters are not just about interaction; they also define first impressions.

A dashboard should open in a clean, intentional state:

  • No confusing filter combinations
  • Clear default selections
  • Predictable behavior when filters change

Assignment

Let's apply different types of filters to understand how they work.

  1. This page-level filter ensures the dashboard only shows discounted sales, which can be useful for analyzing promotion effectiveness.

  2. Top N filters are great for focusing attention on what matters most without cluttering the visual with every category.

Notice how the page-level filter (discounted sales only) affects all visuals, while the visual-level filter (Top 3 categories) only affects the bar chart. Understanding this hierarchy is key to building effective dashboards.

Save the project and, from the course directory, submit the CLI tests.