Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens Gallery
  • Audit Trails events

[Yandex DataLens] Division by zero

Written by
Yandex Cloud
Updated at March 19, 2026
View in Markdown

ERR.DS_API.DB.ZERO_DIVISION

An error occurred when dividing by zero in a query.

The data source does not support dividing by zero.

To fix the error, check and correct the formulas.

For example, if the error was caused by this formula:

[A] / [B]

You can rewrite it as follows:

IF([B] != 0, [A] / [B], NULL)

Alternatively, you can use another numeric value instead of NULL, depending on the result you need.

You can also use the DIV_SAFE and FDIV_SAFE functions that can handle division by zero.

Was the article helpful?

© 2026 Direct Cursus Technology L.L.C.