# Description Creates a new model for reporting. It includes any relevant metric at Deal level in a similar format as we do for `mtd_aggregated_metrics`. Additionally, there's few Deal attributes - from Hubspot, segmentations, lifecycles, etc. In order to dynamically choose which metrics are relevant on a Deal level, I modified the configuration in `int_mtd_aggregated_metrics` so the extraction is under control. # 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. **Worth discussing the possibilities to include indexes in the future** # Other - [ ] Check if a full-refresh is required after this PR is merged. Related work items: #28998 |
||
|---|---|---|
| .. | ||
| int_daily_currency_exchange_rates.sql | ||
| int_dates.sql | ||
| int_deals_consolidation.sql | ||
| int_edeposit_and_athena_verifications.sql | ||
| int_monthly_aggregated_metrics_history_by_deal.sql | ||
| int_monthly_aggregated_metrics_history_by_deal_by_time_window.sql | ||
| int_monthly_growth_score_by_deal.sql | ||
| int_mtd_aggregated_metrics.sql | ||
| int_mtd_aggregated_metrics_by_deal.sql | ||
| int_mtd_vs_previous_year_metrics.sql | ||
| int_simple_exchange_rates.sql | ||
| int_ytd_mtd_aggregated_main_metrics_overview.sql | ||
| int_ytd_mtd_main_metrics_overview.sql | ||
| schema.yml | ||