data-dwh-dbt-project/models/intermediate
Joaquin Ossa dd4dff1479 Merged PR 3666: Aggregated model for guest kpis metrics in intermediate
# Description

Aggregated model for guest kpis metrics.
This model aggregates the values for all basic metrics for guest kpis, it has a granularity per metrics of timeframe (YTD, MTD, WTD) and all other dimensions needed (has_payment, has_id_check & main_billing_country_iso_3_per_deal).
I decided not to include the calculated metrics because it adds much more complexity to the model specially when you start considering all possible combinations between dimensions and how this would affect the calculations, in this case conversion_rate, revenue_rate and average_csat_score. I think this could all be managed much simpler inside PBI and since the granularity of the model is not as deep as the daily model, this should help with the loading time for the 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.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] 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: #24604
2024-11-26 15:37:06 +00:00
..
athena docs for athena int 2024-10-08 14:54:11 +02:00
core Merged PR 3654: New Dash KPIs - Chargeable Services (Revenue) 2024-11-26 10:14:37 +00:00
cross Merged PR 3482: Adapts date dimension skeleton for Main KPIs 2024-11-11 15:57:37 +00:00
edeposit move docs for int_edeposit__guesty_verifications 2024-10-08 14:45:50 +02:00
hubspot Merged PR 3194: First version of Hubspot deals in intermediate 2024-10-16 12:15:14 +00:00
kpis Merged PR 3666: Aggregated model for guest kpis metrics in intermediate 2024-11-26 15:37:06 +00:00
xero Merged PR 3455: Cleans old Xero KPIs models 2024-11-07 11:48:15 +00:00