data-dwh-dbt-project/models/intermediate/kpis/projected
Oriol Roqué Paniagua 0ffcfca6a8 Merged PR 5058: Propagate API deals to growth score
# Description

I opted to name the combination of (Platform) Billable Bookings and (API) Billable Verifications as Billable Items. This is to ensure consistent naming.

Changes:
* Renamed `int_kpis_projected__agg_daily_billable_bookings` to `int_kpis_projected__agg_daily_billable_items`. This now has a new CTE named combination_of_billable_items that combines both API and Platform billable items. Renamed any "bookings" field to "items".
* Renamed `int_kpis_projected__agg_monthly_billable_bookings` to `int_kpis_projected__agg_monthly_billable_items`. Renamed any "bookings" field to "items".
* Renamed `int_billable_bookings_growth_score_by_deal` to `int_billable_items_growth_score_by_deal`. This now has a new CTE named `aggregated_monthly_billable_items` that combines the historical information both API and Platform on billable items. Renamed any "bookings" field to "items".
* Changes Schema accordingly. Small note here that the assert dimension completeness stops working since there's dimensions specific to API or Platform, thus I removed it.

# 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: #29374
2025-04-25 07:27:22 +00:00
..
_projected_kpis_readme.md Merged PR 4665: Projected Bookings to the end of the current month 2025-03-11 14:34:30 +00:00
int_kpis_projected__agg_daily_billable_items.sql Merged PR 5058: Propagate API deals to growth score 2025-04-25 07:27:22 +00:00
int_kpis_projected__agg_monthly_billable_items.sql Merged PR 5058: Propagate API deals to growth score 2025-04-25 07:27:22 +00:00
int_kpis_projected__dimension_dates.sql Merged PR 4665: Projected Bookings to the end of the current month 2025-03-11 14:34:30 +00:00
schema.yml Merged PR 5058: Propagate API deals to growth score 2025-04-25 07:27:22 +00:00