data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua 3fe9ac140e Merged PR 4031: Host Resolutions KPIs bugfix
# Description

Ensure only Authorised states are selected in bank transactions for Host Resolutions KPIs.

Waiting for final confirmation from Suzannah but I'm pretty sure about this since it's consistent with the P&L (and does not make sense to consider DELETED bank transactions anyway)

For reference, here's the current values in prod for `xero_host_resolution_amount_paid_in_gbp` (top3):
* 2024-12-31	-74318
* 2024-11-30	-87935
* 2024-10-31	-73840

and here the same with this fix. Note that the difference is mostly in November:
* 2024-12-31	-73581
* 2024-11-30	-74803
* 2024-10-31	-72473

# 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: #26247
2025-01-13 09:19:24 +00:00
..
athena included id_accommodation 2024-12-03 11:58:42 +01:00
check_in_hero Check in Hero users table 2024-12-20 15:36:00 +01:00
core Merged PR 3914: Include Hubspot deals for KPIs 2024-12-31 15:12:38 +00:00
cross Merged PR 4020: Expose new KPIs 2025-01-10 10:07:00 +00:00
edeposit Removed null fields 2024-12-03 11:35:03 +01:00
hubspot Merged PR 3857: Propagate Amount of Properties in HS deal 2024-12-17 09:02:11 +00:00
kpis Merged PR 4031: Host Resolutions KPIs bugfix 2025-01-13 09:19:24 +00:00
screen_and_protect Simplify PR 2024-12-20 14:04:42 +01:00
xero Merged PR 3455: Cleans old Xero KPIs models 2024-11-07 11:48:15 +00:00