Adding an ID as a parameter
Written by
Updated at January 18, 2024
To pass a filter to a chart as a parameter:
Warning
If you use a new DataLens object model with workbooks and collections:
- In the left-hand panel, select
- Open the appropriate workbook and select an object.
Follow the guide from step 2.
-
In the left-hand panel, click
-
In the top-left corner, select the Fields tab.
-
To the right of the field's row, click
-
Paste the ID into the chart URL as a request parameter. As a result, you should get a link, such as
https://datalens.yandex.com/wizard/yfn1k6yxud7yr-example-chart?17ecb9a1-c8a5-4811-b53e-c8229f88fcba=<value>
, where:17ecb9a1-c8a5-4811-b53e-c8229f88fcba
: Field ID.<value>
: One of the field values used as a filter.