Skip to main content

Reference overview

This section is pure lookup material: syntax definitions, type signatures, function specs, and error codes for AML and AQL. For conceptual guides and how-tos, see Analytics as Code.

AML Reference

AML (Analytics Modeling Language) is the declarative language for defining your semantic layer — models, fields, datasets, relationships, dashboards, and more.

AQL Reference

AQL (Analytics Query Language) is the expression language for querying AML models — used in metrics, filters, calculated fields, and dataset field definitions.

  • Overview: how the AQL reference is organized
  • Expressions: table, metric, and explore expressions
  • Operators: comparison, arithmetic, logical, and pipe operators
  • Types: scalars, tables, dimensions, fields, and measures
  • Functions: table functions, LOD functions, time-based functions, window functions, and inline functions
  • Functions Cheatsheet: every function in one scannable table
  • Error Reference: error codes and how to fix them

Open Markdown
Let us know what you think about this document :)