diff --git a/models/marts/ecommerce/olist_closed_deals.yaml b/models/marts/ecommerce/olist_closed_deals.yaml index d761aaf..4fd0c5f 100644 --- a/models/marts/ecommerce/olist_closed_deals.yaml +++ b/models/marts/ecommerce/olist_closed_deals.yaml @@ -31,7 +31,7 @@ semantic_models: type: categorical measures: - name: sellers - agg: count + agg: count_distinct expr: seller_id create_metric: true metrics: diff --git a/models/marts/ecommerce/olist_marketing_qualified_leads.yaml b/models/marts/ecommerce/olist_marketing_qualified_leads.yaml index 4c51114..12c00e4 100644 --- a/models/marts/ecommerce/olist_marketing_qualified_leads.yaml +++ b/models/marts/ecommerce/olist_marketing_qualified_leads.yaml @@ -22,7 +22,7 @@ semantic_models: type: categorical measures: - name: mqls - agg: count + agg: count_distinct expr: mql_id metrics: - name: mqls