Adding an ID as a parameter

To transmit a filter to a chart as a parameter:

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

  2. In the top-left corner, select the Fields tab.

  3. To the right of the field in the same row, click and select Copy ID.

  4. Open the chart you want to add a parameter to, then click Copy link at the top. You can also copy the chart URL from the browser address bar.

  5. Add the field ID to the chart URL as a request parameter. Your link should look like this: https://datalens.yandex.cloud/wizard/yfn1k6yxud7yr-example-chart?17ecb9a1-c8a5-4811-b53e-c8229f88fcba=<value>, where:

    • https://datalens.yandex.cloud/wizard/yfn1k6yxud7yr-example-chart: Chart URL.
    • 17ecb9a1-c8a5-4811-b53e-c8229f88fcba: Field ID.
    • <value>: One of the field values used for filtering.

    Clicking this link will open the chart filtered by the specified field.

Chart without a parameter

Chart with a parameter

To filter the chart data, this link was generated:

https://datalens.yandex.cloud/wizard/3v7xz********-temperatura?season_xw29=spring, where:

  • https://datalens.yandex.cloud/wizard/3v7xz********-temperatura: Chart URL.
  • season_xw29: Field ID.
  • spring: Field value used for filtering.