data-dwh-dbt-project/models/reporting/general
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
..
daily_currency_exchange_rates.sql deleted the collate 2024-09-20 15:16:53 +02:00
dates.sql new features dates 2024-10-02 10:11:48 +02:00
monthly_aggregated_metrics_history_by_deal.sql Merged PR 3925: Bugfix 2025-01-03 08:24:16 +00:00
monthly_aggregated_metrics_history_by_deal_by_time_window.sql Merged PR 3939: Fixes DWH models for new PBI on AM 2025-01-03 16:17:26 +00:00
monthly_growth_score_by_deal.sql Merged PR 3247: Enriches monthly_growth_by_deal model for top losers reporting 2024-10-18 13:17:52 +00:00
mtd_aggregated_metrics.sql Merged PR 3906: Adds 2 new retained income metrics 2024-12-31 12:10:12 +00:00
new_dash_booking_summary.sql Merged PR 3902: Exposes New Dash Booking Summary 2024-12-27 12:22:19 +00:00
schema.yml Merged PR 3967: Adds an "All History" time window to Account Margin 2025-01-07 15:22:30 +00:00
simple_exchange_rates.sql Fixed names of tables 2024-06-19 11:59:45 +02:00