Merged PR 4942: KPIs Refactor Stage 4 - Remove old onboarding mrr models
# Description Removes old onboarding mrr models, that are no longer used. dbt compiles correctly and no deprecated warning is showing anymore. This finishes the refactor Related work items: #28949
This commit is contained in:
parent
34ac83b3ec
commit
17f38b2106
3 changed files with 0 additions and 203 deletions
|
|
@ -1694,106 +1694,6 @@ models:
|
|||
data_type: boolean
|
||||
description: "Flag to indicate if the deal is in Xero."
|
||||
|
||||
- name: int_monthly_onboarding_mrr_per_deal
|
||||
deprecation_date: 2025-04-09
|
||||
description: |
|
||||
"This table provides data on the Onboarding Monthly Recurring Revenue (MRR).
|
||||
The Onboarding MRR is an estimate of the expected monthly revenue generated by
|
||||
each new deal. It is calculated by taking the total revenue generated by all
|
||||
active accounts over the last 12 previous months (before the ongoing month)
|
||||
and dividing it by the number of active months for each account during this
|
||||
period.
|
||||
For example in December 2023 we will calculate the Onboarding MRR for a deal
|
||||
using the revenue from December 2022 to November 2023."
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- dimension
|
||||
- dimension_value
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
data_type: date
|
||||
description: The date for the month-to-date metrics.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- global
|
||||
- by_number_of_listings
|
||||
- by_billing_country
|
||||
|
||||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: expected_mrr_per_deal
|
||||
data_type: numeric
|
||||
description: |
|
||||
"Expected MRR for each new deal."
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: int_mtd_agg_onboarding_mrr_revenue
|
||||
deprecation_date: 2025-04-09
|
||||
description: |
|
||||
This model contains the month-to-date aggregated metrics for onboarding MRR.
|
||||
It includes the total expected MRR revenue for the month, aggregated by
|
||||
dimension for 'global' and 'by_number_of_listings' only.
|
||||
- The 'by_number_of_listings' dimension is calculated by multiplying the
|
||||
expected MRR per deal by the number of new deals in that segment.
|
||||
- The 'global' dimension represents the sum of all expected MRRs across
|
||||
all segments.
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- dimension
|
||||
- dimension_value
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
data_type: date
|
||||
description: The date for the month-to-date metrics.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: dimension
|
||||
data_type: string
|
||||
description: The dimension or granularity of the metrics.
|
||||
data_tests:
|
||||
- accepted_values:
|
||||
values:
|
||||
- global
|
||||
- by_number_of_listings
|
||||
|
||||
- name: dimension_value
|
||||
data_type: string
|
||||
description: The value or segment available for the selected dimension.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: number_of_new_deals
|
||||
data_type: numeric
|
||||
description: Number of new deals in the month.
|
||||
|
||||
- name: expected_mrr
|
||||
data_type: numeric
|
||||
description: |
|
||||
Total expected Onboarding MRR.
|
||||
This is calculated by multiplying the expected MRR per deal by the number of new deals.
|
||||
For the "global" dimension, it is the sum of all expected MRRs across segments.
|
||||
|
||||
- name: int_ytd_mtd_main_metrics_overview
|
||||
description: |
|
||||
This model provides a high-level overview of the main metrics for the month-to-date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue