Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
  • DataLens Gallery
  • Audit Trails events

[Yandex DataLens] Incompatible dimensions

Written by
Yandex Cloud
Updated at December 1, 2025

ERR.DS_API.FORMULA.VALIDATION.LOD.INCOMPATIBLE_DIMENSIONS

The error is there because aggregations at the same nesting level have different sets of dimensions.

For example, you cannot create the following measure in a chart grouped by [Region] and [Category]:

ARG_MAX(
     ANY([City] INCLUDE [City]),
     AVG([Sales] INCLUDE [Order Date])
)

The ANY([City] INCLUDE [City]) and AVG([Sales] INCLUDE [Order Date]) aggregations are at the same nesting level (inside ARG_MAX). The first aggregation has the [City] dimension; the second one, [Order Date]. In this case, the error results from there being no other aggregation with both of these dimensions.

To correct the error, modify the expression to have one of the nested aggregations include all the dimensions used in the other nested aggregations. For example:

ARG_MAX(
     ANY([City] INCLUDE [City]),
     AVG([Sales] INCLUDE [City],[Order Date])
)

For more information about using LOD expressions, see LOD expressions and filtering management in aggregation functions in Yandex DataLens.

Was the article helpful?

© 2025 Direct Cursus Technology L.L.C.