data-dwh-dbt-project/models/reporting
Oriol Roqué Paniagua f799a8d30f Merged PR 4727: Bookings fees are now Old Dashboard Booking Fees in Main KPIs
# Description

Booking fees is widely used with different meanings, for old dash, for new dash, for both, etc. This is painful. First step to align on a proper naming is ensure that what we report in Main KPIs is clearly stated, which in this case, Booking Fees are now called Old Dashboard Booking Fees.

Changes:
* Modify `stg_seed__accounting_aggregations` seed to rename Booking Fees to Old Dashboard Booking Fees. This is for us to clarify. This is only applied for KPIs compute. I also added an empty space that I mistakenly forgot in the past for `financial_l3_aggregation`.
* Modify KPIs source, i.e., `int_kpis__metric_daily_invoiced_revenue`. Here I forcefully modify the name of the field to `xero_old_dashboard_booking_net_fees_in_gbp`.
* Propagate changes of downstream usages of `xero_booking_net_fees_in_gbp` to `xero_old_dashboard_booking_net_fees_in_gbp`. This affects all models, including the reporting model. On this one we still have both names to avoid breaking it. I will need to modify the data glossary in PBI anyway so I'll do this change as well.
* Modify displayed metric name from Booking Fees Revenue to Old Dashboard Booking Fees Revenue.
* Modify schema so it reflects the proper names, descriptions, and tests.
* Ensure outlier and completion tests still work after this change.

I confirm the field `xero_booking_net_fees_in_gbp` does not exist anymore in the rest of DWH after these changes, except for the abovementioned comment on the reporting line.

# 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.

Related work items: #28560
2025-03-18 14:55:32 +00:00
..
athena change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
check_in_hero cih monthly fee to reporting 2025-01-21 12:37:50 +01:00
core Merged PR 4687: Bugfix - Removal of SH fields that no longer exist 2025-03-13 12:25:13 +00:00
edeposit change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
general Merged PR 4727: Bookings fees are now Old Dashboard Booking Fees in Main KPIs 2025-03-18 14:55:32 +00:00
kpis change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
resolutions Calculator changes 2025-02-28 12:19:24 +01:00
screen_and_protect Updated tests on S&P fees 2025-02-23 16:14:42 +01:00
xero Merged PR 4572: Applies logic to modify the invoicing cycle date depending on the issuing source 2025-03-04 11:32:52 +00:00
exposures.yml Updated exposures 2025-03-10 10:57:21 +01:00