data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua fe3a5c9fe9 Merged PR 4309: Cancelled Bookings KPIs rework
# Description

Exposes new metrics:
* Created Bookings (Excl. Cancelled)
* Cancelled Created Bookings
* Check Out Bookings (Excl. Cancelled)
* Cancelled Check Out Bookings

Re-naming of existing metrics:
* Created Bookings -> Total Created Bookings
* Checkout Bookings -> Total Check Out Bookings

Removes exposure of previous Cancelled Bookings. In the monthly by deal model, it's hardcoded still - need to change PBI to remove safely. This will be done later on once we remove the Cancelled Bookings models.

Adapts the existing tests on KPIs to accommodate for the changes by including new metrics. Also, I've set the detector to 5 (from 8) since it's been a while this has not triggered thus might be worth the effort to have more detection capabilities.

# 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: #24637
2025-02-06 15:12:35 +00:00
..
athena Merged PR 4106: Avoids duplicates in athena verification with fees after price changes 2025-01-19 10:07:39 +00:00
check_in_hero back to created date 2025-01-21 10:18:46 +01:00
core Merged PR 4287: Bugfix - Ensure exclusion of test account at where condition 2025-02-05 15:54:19 +00:00
cross Merged PR 4309: Cancelled Bookings KPIs rework 2025-02-06 15:12:35 +00:00
edeposit change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
hubspot change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
kpis Merged PR 4304: Adds Cancelled and Not Cancelled Created Bookings 2025-02-06 13:13:02 +00:00
screen_and_protect change "tests:" to "data_tests:" 2025-01-13 16:00:35 +01:00
xero Merged PR 4228: First version of sales - monthly trends 2025-01-31 08:33:15 +00:00