Merged PR 4118: New Dash services Invoiced Revenue

# Description

Adds new metrics on Revenue for New Dash services:
    invoiced_revenue.xero_basic_protection_net_fees_in_gbp,
    invoiced_revenue.xero_waiver_pro_net_fees_in_gbp,
    invoiced_revenue.xero_id_verification_net_fees_in_gbp,
    invoiced_revenue.xero_protection_plus_net_fees_in_gbp,
    invoiced_revenue.xero_screening_plus_net_fees_in_gbp,
    invoiced_revenue.xero_sex_offenders_check_net_fees_in_gbp,
    invoiced_revenue.xero_protection_pro_net_fees_in_gbp

Note that it does not add Basic Screening. This is because so far this is a free service, even though the kpis models already consider such a possibility.

First data appears for December so this will be available starting 1st February

# Checklist

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

# Other

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

New Dash services Invoiced Revenue

Related work items: #26680
This commit is contained in:
Oriol Roqué Paniagua 2025-01-20 16:23:20 +00:00
parent d12a7233c9
commit 1865bafd19
4 changed files with 131 additions and 3 deletions

View file

@ -360,7 +360,70 @@
"increment_sign_format": "positive",
},
{
"order_by": 230,
"order_by": 231,
"metric": "Invoiced Screening Plus Revenue",
"value": "xero_screening_plus_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_screening_plus_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_screening_plus_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 232,
"metric": "Invoiced ID Verification Revenue",
"value": "xero_id_verification_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_id_verification_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_id_verification_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 233,
"metric": "Invoiced Sex Offenders Check Revenue",
"value": "xero_sex_offenders_check_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_sex_offenders_check_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_sex_offenders_check_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 234,
"metric": "Invoiced Waiver Pro Revenue",
"value": "xero_waiver_pro_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_waiver_pro_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_waiver_pro_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 235,
"metric": "Invoiced Basic Protection Revenue",
"value": "xero_basic_protection_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_basic_protection_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_basic_protection_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 236,
"metric": "Invoiced Protection Plus Revenue",
"value": "xero_protection_plus_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_protection_plus_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_protection_plus_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 237,
"metric": "Invoiced Protection Pro Revenue",
"value": "xero_protection_pro_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_protection_pro_net_fees_in_gbp",
"relative_increment": "relative_increment_xero_protection_pro_net_fees_in_gbp",
"number_format": "currency_gbp",
"increment_sign_format": "positive",
},
{
"order_by": 240,
"metric": "Invoiced APIs Revenue",
"value": "xero_apis_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_apis_net_fees_in_gbp",
@ -369,7 +432,7 @@
"increment_sign_format": "positive",
},
{
"order_by": 235,
"order_by": 245,
"metric": "Invoiced Athena Revenue",
"value": "xero_guesty_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_guesty_net_fees_in_gbp",
@ -378,7 +441,7 @@
"increment_sign_format": "positive",
},
{
"order_by": 236,
"order_by": 246,
"metric": "Invoiced E-Deposit Revenue",
"value": "xero_e_deposit_net_fees_in_gbp",
"previous_year_value": "previous_year_xero_e_deposit_net_fees_in_gbp",