Skip to content

Commit

Permalink
Merge branch 'current' into eat-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleid authored Jun 10, 2024
2 parents b397125 + 40ba976 commit 02051d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions website/docs/docs/build/metrics-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ metrics:

## Filters

A filter is configured using Jinja templating. Use the following syntax to reference entities, dimensions, time dimensions, or metrics in filters and refer to [Metrics as dimensions](/docs/build/ref-metrics-in-filters) for details on how to use metrics as dimensions with metric filters:
A filter is configured using Jinja templating. Use the following syntax to reference entities, dimensions, time dimensions, or metrics in filters.

Refer to [Metrics as dimensions](/docs/build/ref-metrics-in-filters) for details on how to use metrics as dimensions with metric filters:

```yaml
filter: |
Expand All @@ -233,7 +235,7 @@ filter: |
{{ TimeDimension('time_dimension', 'granularity') }}
filter: |
{{ Metric('metric_name', group_by=['entity_name']) }}
{{ Metric('metric_name', group_by=['entity_name']) }} # Available in v1.8 or go versionless with [Keep on latest version](/docs/dbt-versions/upgrade-dbt-version-in-cloud#keep-on-latest-version)
```

### Further configuration
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/project-configs/query-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The `query-comment` configuration also accepts a dictionary input, like so:
```yml
models:
my_dbt_project:
+materliazed: table
+materialized: table
query-comment:
comment: string
Expand Down
Binary file added website/static/img/blog/authors/dbeatty.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 02051d3

Please sign in to comment.