data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua 9f7f92912f Merged PR 5311: Adds Confident Stay Revenue as a Main KPIs and Account Performance metric
# Description

Creates a new metric: Confident Stay Revenue.

This includes:
* Setting the computation in `int_mtd_vs_previous_year_metrics`
* Configuring the metric behavior in `int_mtd_aggregated_metrics`. It follows the same as CIH.
* Adding the metric in the completion test. I didn't add it in the outlier test in purpose as any new value would trigger the outlier since there's no history to compare against.

Few notes:
* I confirm it displays no value, as the product has not been launched.
* Note that the inclusion of Confident Stay in Guest Revenue was already handled in the previous PR.

Next steps to complete the ticket:
* Add in the Data Glossary of Main KPIs the definition of Confident Stay Revenue
* Add in the Data Glossary of Account Performance the definition of Confident Stay Revenue

# 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.
- [N/A] I have checked for DRY opportunities with other models and docs.
- [N/A] 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: #30278
2025-05-26 09:22:15 +00:00
..
athena Merged PR 5047: First API unified version of Verifications 2025-04-24 12:21:50 +00:00
check_in_hero adding id_deal to api models 2025-03-19 09:23:23 +01:00
core deprecate old version 2025-05-20 17:46:02 +02:00
cross Merged PR 5311: Adds Confident Stay Revenue as a Main KPIs and Account Performance metric 2025-05-26 09:22:15 +00:00
edeposit Addressed comments 2025-03-19 12:06:05 +01:00
hubspot Merged PR 5256: Reporting version of New Dash Onboarding 2025-05-19 15:41:48 +00:00
kpis Merged PR 5285: Adds Stay Disrupt (Confident Stay) Fees in KPIs Guest Payments flow 2025-05-23 10:33:26 +00:00
resolutions Calculator changes 2025-02-28 12:19:24 +01:00
screen_and_protect adding id_deal to api models 2025-03-19 09:23:23 +01:00
xero Host Resolution model for report 2025-04-29 11:43:38 +02:00