Use Holistics's modeling syntax
While we can read both SQL syntax and our Holistics syntax, use Holistics syntax.
Querying model and fields
Instead of querying physical tables, you can query the model using this syntax, so Holistics will only select the necessary fields to be included in the generated queries.
Action | Syntax |
---|---|
Refer to a model |
|
Refer to a model (with alias) |
|
Refer to a field (dimension or measure) |
|
Get all fields |
|
Defining custom fields
Always use our model field syntax preface {{ #THIS.field_name }}
or {{ #THIS.measure_name }}
, or click the referred fields to make sure you don't get unnecessary performance overheads.