From bf41f7a28e7410389ae14fb06432951dddcea401 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 23 Jan 2025 16:17:07 +0000 Subject: [PATCH] Update metricflow-commands.md updating this as --csv flag isn't supported in dbt cloud --- website/docs/docs/build/metricflow-commands.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/docs/docs/build/metricflow-commands.md b/website/docs/docs/build/metricflow-commands.md index 9a35939a8b4..60a310aace2 100644 --- a/website/docs/docs/build/metricflow-commands.md +++ b/website/docs/docs/build/metricflow-commands.md @@ -536,14 +536,15 @@ limit 10 - -Add the `--csv file_name.csv` flag to export the results of your query to a csv. + +Add the `--csv file_name.csv` flag to export the results of your query to a csv. The `--csv` flag is available in dbt Core only and not supported in dbt Cloud. **Query** ```bash -# In dbt Cloud + # In dbt Core mf query --metrics order_total --group-by metric_time,is_food_order --limit 10 --order-by -metric_time --where "is_food_order = True" --start-time '2017-08-22' --end-time '2017-08-27' --csv query_example.csv