# Question about the example on MetricFlow in dbt docs

**URL:** <https://discourse.getdbt.com/t/question-about-the-example-on-metricflow-in-dbt-docs/10835>\
**Category:** Help\
**Tags:** best-practice, dbt-cloud\
**Created:** [November 16, 2023, 5:08pm UTC](https://discourse.getdbt.com/t/question-about-the-example-on-metricflow-in-dbt-docs/10835 "2023-11-16T17:08:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin.lindh](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/martin.lindh/32/2499_2.png) [@martin.lindh](https://discourse.getdbt.com/u/martin.lindh)\
**Post date:** [November 16, 2023, 5:08pm UTC](https://discourse.getdbt.com/t/question-about-the-example-on-metricflow-in-dbt-docs/10835/1 "2023-11-16T17:08:21Z")

</div>

## The problem I’m having

Understanding how MetricFlow:s semantic layer work

Is the example in the dbt docs correct?

> **[About MetricFlow | dbt Developer Hub](https://docs.getdbt.com/docs/build/about-metricflow)**
>
> Learn more about MetricFlow and its key concepts

The example states:

“Imagine an even more complex metric is needed, like the amount of money earned each day from food orders from **returning customers.** ”

The metric is defined as:

```auto
metrics:
  - name: food_order_pct_of_order_total
    description: Revenue from food orders in each store
    label: "Food % of Order Total"
    type: ratio
    type_params:
      numerator: food_order
      denominator: active_customers
    filter: |
      {{ Dimension('customer__is_new_customer')}} = true

```

Returning customers are not new customers. Ought it not be?

{{ Dimension(‘customer\_\_is\_new\_customer’)}} = false
