MODEL
Description
Key Features of the MODEL Clause
Basic Syntax
SELECT ...
FROM ...
MODEL
[ PARTITION BY (partition_clause) ]
DIMENSION BY (dimension_clause)
MEASURES (measure_clause)
[ RULES (rule_clause) ];Example
Simple example with no calculations or modifications (rules) applied to the data.

Addressing a specific cell

Addressing a range of cells (using a loop)

Use of pseudo function cv()

Addressing a range of cells (using a list of values)

Addressing a range of cells (using a subquery)

The pseudo keyword ANY

Addressing cells relative to the current cell

Generating data

Row returning behaviour

Last updated