Documentation Index
Fetch the complete documentation index at: https://cubed3-igor-core-418-duplicate-view-definitions-break-deplo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Use case
We want to disable pre-aggregations unless some condition is fulfilled, e.g., unless the deployment is running in a production environment.Data modeling
You can add an environment variable and use it in data model files to enable or disable pre-aggregations.YAML files
In YAML data model files, you can use Jinja with the built-inenv_var function:
JavaScript files
In JavaScript data model files, you can use JavaScript with an auxiliary file that exports your environment variable. Consider the following file structure:measures are defined as such above.