From bb20a8361db93f8e28d6083e3b7b9854743e6a81 Mon Sep 17 00:00:00 2001
From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com>
Date: Thu, 9 Nov 2023 11:51:04 +0000
Subject: [PATCH] Update metricflow-commands.md
clarify mf command examples avail in cloud
---
website/docs/docs/build/metricflow-commands.md | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/website/docs/docs/build/metricflow-commands.md b/website/docs/docs/build/metricflow-commands.md
index 2386dab4ba2..fd120591900 100644
--- a/website/docs/docs/build/metricflow-commands.md
+++ b/website/docs/docs/build/metricflow-commands.md
@@ -180,9 +180,9 @@ Options:
### Validate-configs
This command performs validations against the defined semantic model configurations:
+
```bash
-dbt sl validate-configs # In dbt Cloud
mf validate-configs # In dbt Core
@@ -206,20 +206,18 @@ Options:
### Health checks
This command performs a health check against the data platform you provided in the configs:
+
```bash
-dbt sl health-checks #in dbt Cloud
-
mf health-checks #in dbt Core
```
### Tutorial
Follow the dedicated MetricFlow tutorial to help you get started:
+
```bash
-dbt sl tutorial # In dbt Cloud
-
mf tutorial # In dbt Core
```
@@ -522,7 +520,7 @@ mf query --metrics revenue --group-by metric_time__month # In dbt Core
To add a dimension filter to a where filter, you have to indicate that the filter item is part of your model and use a template wrapper: {{Dimension('primary_entity__dimension_name')}}
.
-Here's an example query: dbt sl query --metrics order_total --group-by metric_time --where "{{Dimension('order_id__is_food_order')}} = True"
.
Before using the template wrapper, however, you will need to set up your terminal to escape curly braces for the filter template to work.
+Here's an example query: dbt sl query --metrics order_total --group-by metric_time --where "{{Dimension('order_id__is_food_order')}} = True"
.
Before using the template wrapper, however, set up your terminal to escape curly braces for the filter template to work.
How to set up your terminal to escape curly braces?