-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update metricflow-cli.md #3966
Update metricflow-cli.md #3966
Conversation
adding how to add dimension filter to where filter
✅ Deploy Preview for docs-getdbt-com ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@mirnawong1 thanks for opening this PR! Can we also update the where clause example in the query example section?
I think we should also update the metric in the other examples to |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
add template wrapper. setup instructions
move summary
hey @Jstein77 ,t hanks so much! can you give this another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
--where TEXT SQL-like where statement provided as a string. For | ||
example: --where "revenue > 100" | ||
To add a dimension filter to a where filter, you have to indicate that the filter item is part of your model. Reference the dimension using the following template wrapper: {{ Dimension(‘model_name1__model_name2’) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add a dimension filter to a where filter, you have to indicate that the filter item is part of your model. Reference the dimension using the following template wrapper: {{ Dimension(‘model_name1__model_name2’) }} | |
To add a dimension filter to a where filter, you have to indicate that the filter item is part of your model. Reference the dimension using the following template wrapper: {{ Dimension(‘primary_entity__dimension_name’) }} |
adding how to add dimension filter to where filter per slack thread