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
    • 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
    • Overview
    • Formula syntax
      • All Functions
        • Overview
        • BOOL
        • DATE
        • DATETIME
        • DATETIME_PARSE
        • DATE_PARSE
        • DB_CAST
        • FLOAT
        • GEOPOINT
        • GEOPOLYGON
        • INT
        • STR
        • TREE
      • Function Availability
    • Parameters
  • Audit Trails events
  1. Calculated fields
  2. Function reference
  3. Type conversion functions
  4. TREE

TREE

Written by
Yandex Cloud
Updated at November 6, 2024

SyntaxSyntax

TREE( array )

DescriptionDescription

Converts the array expression to Tree of strings format. Can be used to create tree hierarchies.

Argument types:

  • array — Array of strings

Return type: Any

ExampleExample

TREE(ARRAY([Country], [Region], [City]))

Data source supportData source support

ClickHouse 21.8, Files, Google Sheets, PostgreSQL 9.3, Yandex Documents.

Was the article helpful?

Previous
STR
Next
Overview
© 2025 Direct Cursus Technology L.L.C.