Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex DataLens
    • Overview
      • Adding parameters in dashboard chart settings
      • Adding an ID as a parameter
      • Adding parameters to a chart
    • Versioning
    • Chart inspector
    • Access management
  • Audit Trails events
  1. Charts
  2. Chart parameters
  3. Adding parameters in dashboard chart settings

Adding parameters in dashboard chart settings

Written by
Yandex Cloud
Updated at March 6, 2025

To set a parameter:

Warning

If you use a new DataLens object model with workbooks and collections:

  1. In the left-hand panel, select Collections and workbooks.
  2. Open the appropriate workbook and select an object.

Follow the guide from step 2.

  1. In the left-hand panel, click Dashboards and select the dashboard you need. If you do not have a dashboard, create one.

  2. In the top-right corner, click Edit.

  3. Select a chart for which you want to set a new parameter.

  4. In the top-right corner of the chart, click .

  5. In the window that opens, click Parameters.

  6. Click Add parameter at the bottom of the list.

  7. In the Name column, enter the parameter name (key).

  8. In the Value column, click and set a value for the parameter. You can set multiple values.

  9. Click Save.

  10. In the top-right corner of the dashboard edit window, click Save.

Chart on a dashboard without a parameter

Chart on a dashboard with a parameter

Example of parameters with intervalsExample of parameters with intervals

Example of adding a parameter with a date interval

To set the date and time interval between 03-08-2018 09:00:00 and 10-08-2018 10:00:00, set the parameter to __interval_2018-08-03T09:00:00_2018-08-10T10:00:00.

image

Example of adding a parameter with a relative date

To set the date and time interval from the beginning of the last week of 2018 until today, set the parameter to __interval_2018-12-23___relative_+0d.

image

To build relative statistics from the beginning of the year, change __relative_-0d to __relative_-0y_sy.

Note

Note: If no casting is specified, then for the units of one day and higher, the time is cast to the start of the day, that is, 00:00:00.000, while casting to the current time is used for smaller time units.

Was the article helpful?

Previous
Heat map
Next
Adding an ID as a parameter
Yandex project
© 2025 Yandex.Cloud LLC