data-dwh-dbt-project/models
Oriol Roqué Paniagua ce723b335e Merged PR 4878: Adds Monthly/MTD and Aggregated/Metric models for Total and Retained Revenue
# Description

Adds 4 models for Total and Retained Revenue:
* 2 Metric models on Monthly and MTD
* 2 Aggregated models on Monthly and MTD

This follows the standard for KPIs. First manual checks vs data look ok, although I'll run the proper test analysis with the dbt audit tool in the next PR when merging into the current production tables.

# 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: #28946
2025-04-02 08:53:49 +00:00
..
intermediate Merged PR 4878: Adds Monthly/MTD and Aggregated/Metric models for Total and Retained Revenue 2025-04-02 08:53:49 +00:00
reporting Adding total_listings_with_active_product_bundle_with_paid_service 2025-04-01 15:37:41 +02:00
staging Merged PR 4864: Removes incrementality in booking view to service 2025-04-01 06:51:40 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00