Date Filters in Dashboards

The date filter on dashboards enables you to filter your data by:

  • All time that includes all available data
  • Static filter where you specify a range: 1.1. 2019-30.6. 2019
  • Relative period where you specify a range that is relative to today: from last week to tomorrow.
  • Predefined periods for weeks, months, quarters, and years relative to today: last 2 quarters, this month, last 2 years

Static period

To filter by a fixed time period, from a specific date to a specific date:

  1. Click Date range in the top bar.
  2. Click Static period.
  3. Set the dates.
  4. Click Apply.

Relative period

The relative period filter enables you to filter your data by last period and/or next period. For example, you can filter from last 2 months to next 3 months.

  1. Click Date range in the top bar.
  2. Click Relative period.
  3. Select granularity - days, weeks, months, quarters, or years.
  4. Set the range:
    1. From the dropdown menu, select the specific range. You can scroll up/down to display more options.
    2. Write a number to display specific options.
    3. Use the following keywords: yesterday/today/tomorrow for days or next/this/last for other periods. 
  5. Click Apply.

Predefined periods - days, weeks, months, quarters, years

You can also filter data by predefined time periods.

  1. Click Date range in the top bar.

  2. Select a predefined time period.

  3. (Optional) To exclude data from the current period, select Exclude <period>.  If you want to display average daily revenue from the last 7 days, you exclude today because it contains only incomplete/partial data. The insight then shows the 7 days before today.

  4. Click Apply.

How the Dashboard Date Filter and Insight Date Filters Interact

When you add insights to the dashboards, they are filtered by the dashboard date filter. The insight may include their own date filters as well (see Create Insights).

To disable the insight filter, unselect the Filter by date option in the right side pane.

Dashboard filterInsight filterWhat is used
No date filter
Insight date filter
Dashboard date filter

Dashboard date filter

If the same date dimension is used in both filters.

Both dashboard and insight date filters (the AND operator)

If different date dimensions are used.

Custom filters

You can customize the date filter to suit your needs. See the following sections for details.

You can update the dashboard date filter by editing the date filter metadata object via API.

For details, see Customize Date Filters in Dashboards.