Merged PR 4502: Revert "Adds Onboarding MRR"

# Description

_Describe your motivation and changes here._

# Checklist

- [ ] The edited models and dependants run properly with production data.
- [ ] The edited models are sufficiently documented.
- [ ] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Revert "Adds Onboarding MRR"

Reverted commit `dab210c6`.
This commit is contained in:
Oriol Roqué Paniagua 2025-02-25 11:44:24 +00:00
parent 7c4b0e752b
commit 995027205c
3 changed files with 2 additions and 55 deletions

View file

@ -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 (

View file

@ -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

View file

@ -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: |
@ -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