# 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 |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| kpis_additive_metrics_per_dimension_are_consistent.sql | ||
| kpis_global_metrics_outlier_detection.sql | ||