data-dwh-dbt-project/models
Oriol Roqué Paniagua 0ec1484846 Merged PR 3967: Adds an "All History" time window to Account Margin
# Description

Quick improvement to be able to report the same setup of metrics by considering all account history up to a certain date.

It adds a new computation flow for this All History window. Note that I needed to update the macro to override this case by using unbounded preceding.

I also took the opportunity to update the exposures of the new report.

# 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: #26085
2025-01-07 15:22:30 +00:00
..
intermediate Merged PR 3967: Adds an "All History" time window to Account Margin 2025-01-07 15:22:30 +00:00
reporting Merged PR 3967: Adds an "All History" time window to Account Margin 2025-01-07 15:22:30 +00:00
staging Merged PR 3909: Fixes created_date_utc and updated_date_utc in SH User and its dependencies 2024-12-31 08:04:03 +00:00
doc_blocks.md improve stg_stripe__charges 2024-02-23 16:45:19 +01:00