data-dwh-dbt-project/models/intermediate/kpis
Oriol Roqué Paniagua 8ddb695947 Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow
# Description

Adds GJ Created, Started and Completed.
Each model has:
* A Daily model
* A Monthly/MTD without dimension aggregate
* A Monthly/MTD with dimension aggregate
* A comparison vs. the current flow of KPIs in the form of a test

It's quite similar as for Created Bookings. The main difference is that 1) reads from Verification Requests table and 2) I don't compute a New Dash dimension. This helps actually validating the logic of the dimension configuration macro, which works good.

I confirm that the 3 tests of comparison vs. current data work well in my local - i.e. identical content for Global, Billing Country for these 3 metrics since 2022.

This does not include:
* Guest Journeys with Payment. I'll do this in a separated PR
* Guest Payments/Revenue. I'll do this in a separated PR

# 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.
- [NA] I have checked for DRY opportunities with other models and docs. **Briefly discussed with Pablo, we'll leave it like this for the time being**
- [X] I've picked the right materialization for the affected models. **Runs quite fast**

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #23453
2024-10-30 11:45:45 +00:00
..
_kpis_readme.md Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__aggregated_monthly_completed_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__aggregated_monthly_created_bookings.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__aggregated_monthly_created_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__aggregated_monthly_started_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__aggregated_mtd_completed_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__aggregated_mtd_created_bookings.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__aggregated_mtd_created_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__aggregated_mtd_started_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__dimension_daily_accommodation.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__dimension_dates.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__lifecycle_daily_accommodation.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__metric_daily_completed_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_daily_created_bookings.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__metric_daily_created_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_daily_started_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_monthly_completed_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_monthly_created_bookings.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__metric_monthly_created_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_monthly_started_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_mtd_completed_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_mtd_created_bookings.sql Merged PR 3329: First version of KPIs refactored - created bookings 2024-10-30 08:55:19 +00:00
int_kpis__metric_mtd_created_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
int_kpis__metric_mtd_started_guest_journeys.sql Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00
schema.yml Merged PR 3377: Adds GJ Created, Started and Completed in new KPIs flow 2024-10-30 11:45:45 +00:00