Replacing a dataset in a Yandex DataLens chart
Written by
Updated at June 2, 2026
To replace a dataset in a chart:
Warning
If you use the new DataLens object model with workbooks and collections:
- In the left-hand panel, select
Collections and workbooks. - Open the workbook you need and select an object.
Proceed with this guide from Step 2.
-
In the left-hand panel, click
Charts and select the chart you need. -
On the left side of the screen, click
next to the dataset and select Replace dataset. -
Select another dataset.
Note
Make sure the new dataset contains fields with the same names as the old one. If, after you replace the dataset, the chart comes with the
ERR.DS_API.DB.COLUMN_DOES_NOT_EXISTerror, follow this guide. -
In the top-right corner, click Save.