Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • 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
© 2026 Direct Cursus Technology L.L.C.
Yandex DataLens
  • DataLens neuroanalyst
    • Overview
    • Working with datasets
    • Data model
    • Dataset settings
    • Versioning
    • Adding dataset info
    • Source parameterization
    • Cache invalidation
    • Data types
    • Data type mapping
  • Gallery in DataLens
  • Audit Trails events

In this article:

  • Data source
  • Data fields
  • Aggregating data
  1. Datasets
  2. Data model

Data model in Yandex DataLens

Written by
Yandex Cloud
Updated at July 7, 2026
View in Markdown
  • Data source
  • Data fields
  • Aggregating data

Data in a dataset is represented as fields.

Data sourceData source

One or more tables are used as the data source.

Note

There is a limit on displaying the first 1,000 tables from a source in a dataset. If the required tables are not on the list, currently, you can only add them manually using an SQL query.

If there are multiple tables in the source, you can join them with a JOIN operator.
When the tables are joined, a link is created between them. When you create a link, you specify the fields from the source table and merged table.

Tables are linked automatically by the first match in the field name and field data type.

In this case, you can:

  • Edit fields in the link.
  • Add new links or delete existing links.
  • Change the type of the JOIN operator in the link (INNER, LEFT, RIGHT, or FULL).
  • Manage link optimization.

JOIN is used if a query made from a chart uses fields from two or more dataset tables.

JOIN is not used if:

  • The dataset contains one table.
  • The dataset contains multiple tables; however, the query uses fields from only one of those tables (with link optimization enabled).

To manage the link behavior when joining data from multiple tables, use the Optimize link option in the link settings. This option is enabled by default for all links in the dataset: the JOIN operator applies if the query uses fields from two or more linked tables. You can disable the option for each individual link to make the link required. In which case the JOIN operation will be performed even if you select fields from a single table.

Note

If you disable optimization, it may take more time to run a query.

For more information about optimization when using JOIN, see Optimizing data when joining tables.

Data fieldsData fields

The fields define the structure and format of the dataset. The following types of fields are available:

  • Dimension. Contains values that define data parameters, such as a city, date of purchase, or product category. The aggregation function is not applied to fields with a dimension; otherwise, the field becomes a measure. In the interface, dimensions are displayed in green.
  • Measure. Contains numeric values the aggregation functions (information) apply to, such as the amount of clicks and the number of click-throughs. If you remove the aggregation function from this field, it will become a dimension. In the interface, measures are displayed in blue.

In the dataset creation interface and wizard, you can duplicate fields, create fields, and use aggregation functions.

Warning

The maximum number of fields per dataset is 1,200.

DataLens allows you to create calculable fields using formulas. To write formulas, you can use existing dataset fields, constants, and functions. For a full list of functions, see the Function reference.

For more information about calculable fields, see Calculated fields in Yandex DataLens.

Aggregating dataAggregating data

The following aggregation functions are available for fields with different data types:

Function Description Supported types
No Without aggregation All types
Average Arithmetic mean value Fractional number
Integer
Quantity Number of records String
Date
Date and time
Fractional number
Integer
Number of unique Number of unique records String
Date
Date and time
Fractional number
Integer
Maximum Maximum value Date
Date and time
Fractional number
Integer
Minimum Minimum value Date
Date and time
Fractional number
Integer
Amount Sum of values Fractional number
Integer

Additional aggregation functions are available in calculated fields.

Note

For some sources, aggregation functions are unavailable.
The sources you can use aggregation functions for are listed under Data source support on the aggregation function page in the reference.

To learn more about data types, see Yandex DataLens data types.

Useful linksUseful links

  • Working with a dataset in Yandex DataLens

Was the article helpful?

Previous
Working with datasets
Next
Dataset settings
© 2026 Direct Cursus Technology L.L.C.