Interactivity

Drilldowns and exploration

Mode's built-in charts include various tools for interacting with the data they display. Report viewers should feel free to explore at will: when a viewer uses any of the interactive features below, none of these changes will persist beyond that viewer's session, and the underlying report will not be affected.

You can follow along with the examples in this video in the Mode University course: Getting Insights from Mode Reports.

To use interactive chart features, hover over a built-in chart. You'll see the following options:

  • Expand / Collapse : Increase or decrease the granularity of the chart data. Available when the chart's X-axis is a time-series and more granular data is available in the underlying query results.
  • Link : Generates a URL that other logged-in members of your Mode Workspace can use to view only that specific chart.
  • Back / Forward : Undo and redo any exploratory modifications to the chart.
  • Explore: Launches a drag-and-drop interface that can be used to customize the chart or explore the data. Learn more about explorations in this help doc.
  • Within the overflow menu (an icon with 3 vertical dots), there are several additional options:
    • View source code: Navigates users within Mode to view the SQL syntax of the query that powers the chart you were just examining.
    • View data: Navigates users within Mode to view the full query results that power the chart you were just examining.
    • Export chart data to CSV: Only for charts created in Mode's Visual Explorer, this option allows the export of aggregated, filtered chart summary data as a CSV.
    overflow menu

Depending on the chart type and available data, viewers can click on an individual data point for additional options:

  • Explore: Launches a drag-and-drop interface that can be used to explore the data behind the chosen point. Learn more about explorations in this help doc.
  • View Data: Opens a display table containing the data behind the chosen point.
  • Drilldown: Increases granularity of the chart to display the detail behind the chosen point. Available when the chart's X-axis is a time-series and more granular data is available in the underlying query results.

You can disable these options for an individual chart by un-checking Enable Drilldowns in the Format tab on the right side of the chart editor.

IMPORTANT: For security purposes, when viewing an embedded report, the View Data option is not available, and the Explore option is only available to logged-in Mode users with access to the underlying report.

Filters and parameters

Filters and Parameters let viewers customize a report's output without touching code or modifying its configuration.

You can follow along with the examples in this video in the Mode University course: Getting Insights from Mode Reports.

Parameters and Filters

  1. Parameters: Dynamically modify the SQL code of the report before it is executed against the database. When a report viewer changes a parameter's value, the report must be re-run to see any changes to the results.
  2. Filters: Modify the data presented in a report's built-in charts and visualizations. Filters are applied to the data visualized in the browser after all of the report's queries have finished running.

How to add filters to a report

  1. Open the report builder and select Add Filter.

  2. A list of all columns from all queries in the report will appear. If the same column name appears in multiple queries in your report, applying a corresponding filter will filter all columns of that name across all queries.

  3. Choose the column you want to filter on and click Add.

  4. The filter will appear on the right side of the report builder. To customize the filter, hover over it and click on the gear icon. The customization options available are:

    • Single-select list: allows selection of only one filter option.
    • Multi-select list: allows selection of multiple filter options. This is the default.
    • Show "All" in the list: allows selection of all available filter values as an option. This is turned on by default. Unselecting this option will hide the "Select All" option.
    • Move up: moves the filter above the filter right above it.
    • Move down: moves the filter below the filter right below it.
    • Move top: moves the filter to the top of the list.
    • Move bottom: moves the filter to the bottom of the list.
    • Reset filter: resets all selected options of the filter.
    • Delete: deletes the filter from the report.

To configure a specific set of filter selections as the default for a report, add the necessary filter selections in the report builder and then select the Set as Default option. This action will save the filter selections and they will be automatically applied each time the report is viewed.

Was this article helpful?

Get more from your data

Your team can be up and running in 30 minutes or less.