Date Filters in KPI Dashboards

Date filters described in this article are experimental and should be treated as a preview of the upcoming functionality. To use date filters, set the enableKPIDashboardExtendedDateFilters platform settings to true. For details, see Platform Settings.

The date filter on KPI 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
  • Floating range where you specify a range that is relative to today: from last week to tomorrow.
  • Predefined periods for weeks, month, quarters, and years relative to today: last 2 quarters, this months, 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.

When using a static period, you cannot set alerts and compare data with the previous period for KPIs.

Floating range

Floating range 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.

The floating range is relative to today and adjusts in time.

  1. Click Date range in the top bar.
  2. Click Floating range.
  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, 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 open period.
    For example, you want to display average daily revenue from the last 7 days. You exclude today because it contains only incomplete/partial data.

    You can exclude only periods that end with the current day, such as last 7 days and last 4 quarters.

  4. Click Apply.

Custom filters

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

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

Switch off granularity