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
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex DataLens
  • Audit Trails events

Division by zero

Written by
Yandex Cloud
Updated at April 17, 2023

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.
Check your formulas and fix them.

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 desired result.

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

Was the article helpful?

© 2025 Direct Cursus Technology L.L.C.