Configuring cascading filters

Cascading filters allow dashboard filters to interact with each other by dynamically limiting the available filter values based on current selections. This helps users focus on relevant options and makes it easier to explore data by progressively narrowing the available results.

This document explains how to create cascading filters and configure filter interactions on a dashboard.

This example uses a Calendar Heat Map visual built on the SFPD Incidents dataset.

Create a Calendar Heat Map visual based on the SFPD Incidents dataset.

  1. Create a new dashboard by clicking New Dashboard.
  2. In the Dashboard Designer, open the Calendar Heat Map visual you created based on the SFPD Incidents dataset.
  3. To edit the visual, click the Pencil icon in the top right corner of the visual.
  4. Under Dimensions, add the following fields to the Filters shelf:
    • pddistrict
    • category
    • date
  5. Name and save the dashboard.
  6. In the Dashboard Designer, click the Filters tab on the left.
  7. Under Dimensions, click the date field.

    A dashboard filter based on the date field is added to the dashboard. This filter has the timestamp type.

    You can also drag the field into the filter bar.

    This filter is based directly on the field date, and has a type timestamp.

  8. Add the other two filters.
    • Click the category field to add a filter based on that field.
    • Click the pddistrict field to create the next filter.
  9. Save the dashboard.
  10. On the category filter, click the Gear icon.
    The Settings modal window appears.
  11. Click the Display Settings tab and select Allow only one item to be selected at a time.
  12. Switch to the Values tab.
  13. In Filter Fields, enter the value pddistrict,date.
  14. Click APPLY.
  15. On the pddistrict filter, click the Gear icon.
    The Settings modal window appears.
  16. Switch to the Values tab.
  17. In Filter Fields, enter the value category,date.
  18. Click APPLY.
  19. Save the dashboard.