diff --git a/models/intermediate/cross/int_mtd_aggregated_metrics.sql b/models/intermediate/cross/int_mtd_aggregated_metrics.sql index 650833c..820763f 100644 --- a/models/intermediate/cross/int_mtd_aggregated_metrics.sql +++ b/models/intermediate/cross/int_mtd_aggregated_metrics.sql @@ -100,6 +100,15 @@ }, { "order_by": 20, + "metric": "Live Deals", + "value": "live_deals", + "previous_year_value": "previous_year_live_deals", + "relative_increment": "relative_increment_live_deals", + "number_format": "integer", + "increment_sign_format": "positive", + }, + { + "order_by": 21, "metric": "New Deals", "value": "new_deals", "previous_year_value": "previous_year_new_deals", @@ -108,7 +117,7 @@ "increment_sign_format": "positive", }, { - "order_by": 21, + "order_by": 22, "metric": "Deals Booked in Month", "value": "deals_booked_in_month", "previous_year_value": "previous_year_deals_booked_in_month", @@ -117,7 +126,7 @@ "increment_sign_format": "positive", }, { - "order_by": 22, + "order_by": 23, "metric": "Deals Booked in 6 Months", "value": "deals_booked_in_6_months", "previous_year_value": "previous_year_deals_booked_in_6_months", @@ -126,7 +135,7 @@ "increment_sign_format": "positive", }, { - "order_by": 23, + "order_by": 24, "metric": "Deals Booked in 12 Months", "value": "deals_booked_in_12_months", "previous_year_value": "previous_year_deals_booked_in_12_months", @@ -135,7 +144,7 @@ "increment_sign_format": "positive", }, { - "order_by": 24, + "order_by": 25, "metric": "Churning Deals", "value": "churning_deals", "previous_year_value": "previous_year_churning_deals", diff --git a/models/intermediate/cross/int_mtd_vs_previous_year_metrics.sql b/models/intermediate/cross/int_mtd_vs_previous_year_metrics.sql index 1cfec5f..02efb62 100644 --- a/models/intermediate/cross/int_mtd_vs_previous_year_metrics.sql +++ b/models/intermediate/cross/int_mtd_vs_previous_year_metrics.sql @@ -227,6 +227,7 @@ with deals.deals_booked_in_month, deals.deals_booked_in_6_months, deals.deals_booked_in_12_months, + deals.live_deals, -- LISTINGS (ACCOMMODATIONS) -- listings.new_listings, @@ -504,6 +505,7 @@ select {{ calculate_safe_relative_increment("deals_booked_in_month") }}, {{ calculate_safe_relative_increment("deals_booked_in_6_months") }}, {{ calculate_safe_relative_increment("deals_booked_in_12_months") }}, + {{ calculate_safe_relative_increment("live_deals") }}, -- LISTINGS -- {{ calculate_safe_relative_increment("new_listings") }},