AQL ReferenceGrammar
Macros
AQL macros are functions that receive expressions instead of values, letting you compose metrics flexibly with where, keep, exclude, and dimensionalize.
Macros are a special type of function that receives expressions instead of values. Its usage in AQL is to modify the expression that is passed into them. They enable the ability to compose metrics together in a flexible and maintainable way.