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.
All solutions
    • All solutions for DataLens
    • Connecting to Yandex Direct from DataLens
    • Obtaining a token to connect to Bitrix24 database from DataLens
    • How to connect to MyWarehouse connector
    • How to restore a broken dataset
    • How to recover deleted objects
    • How to find IP addresses used for connecting to external data sources
    • How to filter previously filtered data with a selector
    • Adding an existing user to DataLens
    • Resolving the ERR.DS_API.FIELD.TITLE.CONFLICT error in DataLens
    • Resolving the ERR.DS_API.REQUEST_TIMEOUT error in DataLens
    • Resolving the ERR.DS_API.SOURCE_CONFIG.TABLE_NOT_CONFIGURED error in DataLens
    • Problem when creating a connection to a Google Sheets table from DataLens
    • In DataLens table charts, the values in the "Total" fields mismatch the corresponding data from Yandex Metrica
    • Resolving the "ERR.DS_API.US Not correct folder_id" error in DataLens
    • Resolving issues with joined tables when connecting to Bitrix
    • Resolving the ERR.DS_API.FORMULA.TRANSLATION.DATA_TYPE error in DataLens
    • Resolving issues with access to the podcast statistics dashboard in Yandex Music
    • Resolving the ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT error in DataLens
    • Resolving issues when loading a CSV file into a dataset as a data source in DataLens
    • Resolving the "Validation error Request failed with status code 500" error when saving a dashboard in DataLens
    • Supporting custom Bitrix24 fields in DataLens
    • Resolving the "Bad Request for url MetrikaHttpApiException direct_client_logins" error
    • Resolving the "ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT - Inconsistent aggregation among operands" error
    • Resolving the "ERR.DS_API.US.BAD_REQUEST data.key should not start with /" error
    • Not all fields are displayed in datasets built on Yandex Metrica

In this article:

  • Issue description
  • Solution
  1. DataLens
  2. Resolving the ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT error in DataLens

Resolving the ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT error

Written by
Yandex Cloud
Updated at November 27, 2023
  • Issue description
  • Solution

Issue descriptionIssue description

When switching the display mode of the chart from Line type to Indicator type, you see this error message:


{
"cggk06m72id82_result": {
"code": "ERR.DS_API.FORMULA.VALIDATION.AGG.INCONSISTENT",
"status": 400,
"sourceType": "bi_datasets",
"message": "Inconsistent aggregation among operands",
"details": {}
}
}
"Error: Request failed with status code 427
at t.exports (https://yastatic.net/s3/cloud/datalens/static/freeze/js/vendors.0dfa929f.js:2:6017)
at t.exports (https://yastatic.net/s3/cloud/datalens/static/freeze/js/vendors.0dfa929f.js:2:8466)
at XMLHttpRequest.y (https://yastatic.net/s3/cloud/datalens/static/freeze/js/vendors.0dfa929f.js:2:1286)"

SolutionSolution

AGO grouping can only be used in charts where the X-axis represents dates and the Y-axis represents a dimension.
Since there is no X-axis in the indicator field, you cannot use AGO.

Was the article helpful?

Previous
Resolving issues with access to the podcast statistics dashboard in Yandex Music
Next
Resolving issues when loading a CSV file into a dataset as a data source in DataLens
© 2025 Direct Cursus Technology L.L.C.