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.
- Overview: how the AML reference is organized and where to start
- Quick Reference: side-by-side examples for common objects
- Model: table models and query models
- Fields: dimensions and measures
- Dataset: collections of models with relationships
- Dashboard: dashboard-as-code definitions
- Types: the AML type system
- Programmable Constructs: constants, functions, modules, extend, partial
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