-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is this your first time submitting a feature request?
- I have read the expectations for open source contributors
- I have searched the existing issues, and I could not find an existing issue for this feature
- I am requesting a straightforward change to existing dbt-semantic-interfaces functionality, rather than a Big Idea better suited to a discussion
Describe the feature
Currently you need to to use the object syntax to call dimensions in a saved query:
saved_queries:
- name: new_customer_orders
description: New customer orders by name and time
query_params:
metrics:
- orders
group_by:
- Dimension('customer__customer_name')
- TimeDimension('metric_time', 'day')
where:
- "{{ Dimension('customer__customer_type') }} = 'new'"
exports:
- name: new_customer_orders
config:
export_as: table
You should be able to add call dimensions without needing jinja brackets. This is consistent with how you call dimensions in the CLI.
saved_queries:
- name: new_customer_orders
description: New customer orders by name and time
query_params:
metrics:
- orders
group_by:
- customer__customer_name
- metric_time__day
where:
- "{{ Dimension('customer__customer_type') }} = 'new'"
exports:
- name: new_customer_orders
config:
export_as: table
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request