From d353e852cdbcdf278e0af292abeb54269a3e7af1 Mon Sep 17 00:00:00 2001 From: Joaquin Date: Thu, 27 Mar 2025 14:38:53 +0100 Subject: [PATCH] Fixing model --- .../kpis/int_kpis__product_new_dash_agg_metrics.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/models/intermediate/kpis/int_kpis__product_new_dash_agg_metrics.sql b/models/intermediate/kpis/int_kpis__product_new_dash_agg_metrics.sql index 9fd5702..94306f7 100644 --- a/models/intermediate/kpis/int_kpis__product_new_dash_agg_metrics.sql +++ b/models/intermediate/kpis/int_kpis__product_new_dash_agg_metrics.sql @@ -105,12 +105,12 @@ full outer join and created.dimension_value = chargeable.dimension_value full outer join int_kpis__agg_weekly_new_dash_deals_offered_services deals - on created.end_date = deals.end_date + on created.end_date = deals.date and created.dimension = deals.dimension and created.dimension_value = deals.dimension_value full outer join int_kpis__agg_weekly_new_dash_accommodation_offered_services accommodation - on created.end_date = accommodation.end_date + on created.end_date = accommodation.date and created.dimension = accommodation.dimension and created.dimension_value = accommodation.dimension_value union all @@ -143,11 +143,11 @@ full outer join and created.dimension_value = chargeable.dimension_value full outer join int_kpis__agg_monthly_new_dash_deals_offered_services deals - on created.end_date = deals.end_date + on created.end_date = deals.date and created.dimension = deals.dimension and created.dimension_value = deals.dimension_value full outer join int_kpis__agg_monthly_new_dash_accommodation_offered_services accommodation - on created.end_date = accommodation.end_date + on created.end_date = accommodation.date and created.dimension = accommodation.dimension and created.dimension_value = accommodation.dimension_value