data-dwh-dbt-project/models
Oriol Roqué Paniagua d8a0bb07d3 Merged PR 4395: Propagates business scope into Deal/Listing metrics
# Description

Changes:
* Propagates business scope, based on deal, for Deal and Listing metrics. This already handles the daily metric and the daily aggregation.
* Modifies lifecycle_daily_deal to depend on dimension_deals and compute API segmentation.
* Creates new metric: Live Deals, that includes New, Active and Reactivated. This will be needed for YTD/MTD overview.

# 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: #27356
2025-02-13 16:34:14 +00:00
..
intermediate Merged PR 4395: Propagates business scope into Deal/Listing metrics 2025-02-13 16:34:14 +00:00
reporting Merged PR 4371: fixed exposures 2025-02-12 14:49:46 +00:00
staging fix commit 2025-02-07 12:40:22 +01:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00