diff --git a/models/intermediate/cross/int_ytd_mtd_aggregated_main_metrics_overview.sql b/models/intermediate/cross/int_ytd_mtd_aggregated_main_metrics_overview.sql index 280d074..e98fc2f 100644 --- a/models/intermediate/cross/int_ytd_mtd_aggregated_main_metrics_overview.sql +++ b/models/intermediate/cross/int_ytd_mtd_aggregated_main_metrics_overview.sql @@ -159,16 +159,6 @@ "previous_YTD": "previous_ytd_total_revenue_churn_rate", "requires_invoicing_data": false, }, - { - "id_metric": 17, - "name": "Onboarding MRR", - "current_month_MTD": "current_month_mtd_onboarding_mrr", - "previous_month_EOM": "previous_month_eom_onboarding_mrr", - "previous_year_MTD": "previous_year_mtd_onboarding_mrr", - "current_YTD": "current_ytd_onboarding_mrr", - "previous_YTD": "previous_ytd_onboarding_mrr", - "requires_invoicing_data": false, - }, ] %} with int_ytd_mtd_main_metrics_overview as ( diff --git a/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql b/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql index 5cce290..413f3d1 100644 --- a/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql +++ b/models/intermediate/cross/int_ytd_mtd_main_metrics_overview.sql @@ -40,7 +40,6 @@ with as current_month_mtd_total_revenue_churn_12m, total_revenue_global_preceding_12_months as current_month_mtd_total_revenue_global_12m, - expected_mrr as current_month_mtd_onboarding_mrr, -- Previous Year (12 months ago), Month To Date Metrics -- previous_year_total_revenue_in_gbp @@ -67,7 +66,6 @@ with as previous_year_mtd_total_revenue_churn_12m, previous_year_total_revenue_global_preceding_12_months as previous_year_mtd_total_revenue_global_12m, - previous_year_expected_mrr as previous_year_mtd_onboarding_mrr, -- Previous Month, End Of Month Metrics -- lag(total_revenue_in_gbp) over ( @@ -111,10 +109,7 @@ with ) as previous_month_eom_total_revenue_churn_12m, lag(total_revenue_global_preceding_12_months) over ( partition by dimension, dimension_value order by date - ) as previous_month_eom_total_revenue_global_12m, - lag(expected_mrr) over ( - partition by dimension, dimension_value order by date - ) as previous_month_eom_onboarding_mrr + ) as previous_month_eom_total_revenue_global_12m from int_mtd_vs_previous_year_metrics where @@ -193,11 +188,6 @@ with order by date rows between unbounded preceding and current row ) as current_ytd_total_revenue_global_12m, - sum(current_month_mtd_onboarding_mrr) over ( - partition by financial_year, dimension, dimension_value - order by date - rows between unbounded preceding and current row - ) as current_ytd_onboarding_mrr, -- Specific treatment for live_deals as it is a counter current_month_mtd_live_deals as current_ytd_live_deals, @@ -267,11 +257,6 @@ with order by date rows between unbounded preceding and current row ) as previous_ytd_total_revenue_global_12m, - sum(previous_year_mtd_onboarding_mrr) over ( - partition by financial_year, dimension, dimension_value - order by date - rows between unbounded preceding and current row - ) as previous_ytd_onboarding_mrr, -- Specific treatment for live_deals as it is a counter previous_year_mtd_live_deals as previous_ytd_live_deals diff --git a/models/intermediate/cross/schema.yml b/models/intermediate/cross/schema.yml index 9ab27c8..936e5cf 100644 --- a/models/intermediate/cross/schema.yml +++ b/models/intermediate/cross/schema.yml @@ -1989,11 +1989,6 @@ models: description: | Total revenue churn rate for the current month MTD. - - name: current_month_mtd_onboarding_mrr - data_type: numeric - description: | - Total expected Onboarding MRR for the current month MTD. - - name: previous_year_mtd_billable_bookings data_type: integer description: | @@ -2104,12 +2099,6 @@ models: Total revenue churn rate for the previous year (12 months ago) MTD. - - name: previous_year_mtd_onboarding_mrr - data_type: numeric - description: | - Total expected Onboarding MRR for the previous year - (12 months ago) MTD. - - name: current_ytd_billable_bookings data_type: integer description: | @@ -2218,11 +2207,6 @@ models: description: | Total revenue churn rate for the current financial year YTD. - - name: current_ytd_onboarding_mrr - data_type: numeric - description: | - Total expected Onboarding MRR for the current financial year YTD. - - name: previous_ytd_billable_bookings data_type: integer description: | @@ -2332,12 +2316,6 @@ models: Total revenue churn rate for the previous financial year YTD. - - name: previous_ytd_onboarding_mrr - data_type: numeric - description: | - Total expected Onboarding MRR for the previous - financial year YTD. - - name: previous_month_eom_billable_bookings data_type: integer description: | @@ -2443,7 +2421,7 @@ models: - name: previous_month_eom_total_revenue_global_12m data_type: numeric - description: | + description: | Total revenue generated globally in the last 12 months for the previous month, at the end of the month. This is only used to compute the churn rate. @@ -2454,12 +2432,6 @@ models: Total revenue churn rate for the previous month, at the end of the month. - - name: previous_month_eom_onboarding_mrr - data_type: numeric - description: | - Total expected Onboarding MRR for the previous month, - at the end of the month. - - name: int_ytd_mtd_aggregated_main_metrics_overview description: | This model provides a high-level overview of the main metrics for the month-to-date