Skip to content

Commit

Permalink
Clean up the example of sql to metricflow
Browse files Browse the repository at this point in the history
Making everything consistent in the example. It referenced returning customers but had a new customers = true.
  • Loading branch information
nhandel authored Jun 5, 2024
1 parent 4fd71ca commit c117203
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/docs/docs/build/about-metricflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ MetricFlow simplifies the SQL process via metric YAML configurations as seen bel

```yaml
metrics:
- name: food_order_pct_of_order_total
description: Revenue from food orders in each store
- name: food_order_pct_of_order_total_returning
description: Revenue from food orders from returning customers
label: "Food % of Order Total"
type: ratio
type_params:
numerator: food_order
denominator: active_customers
denominator: order_total
filter: |
{{ Dimension('customer__is_new_customer')}} = true
{{ Dimension('customer__is_new_customer')}} = false
```
</TabItem>
</Tabs>
Expand Down

0 comments on commit c117203

Please sign in to comment.