Merged PR 4352: Bulk update dash_source to business_scope

# Description

Changes:
* Switches dash_source to business_scope in all kpis models, schema and macro configuration.

# 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: #27356
This commit is contained in:
Oriol Roqué Paniagua 2025-02-11 16:19:33 +00:00
parent 4f2a34427f
commit 78707ef649
23 changed files with 231 additions and 164 deletions

View file

@ -4,7 +4,7 @@
unique_key=[
"end_date",
"id_deal",
"dash_source",
"business_scope",
"has_id_check",
"active_accommodations_per_deal_segmentation",
],
@ -16,7 +16,7 @@ select
d.first_day_month as start_date,
d.date as end_date,
gp.id_deal,
gp.dash_source,
gp.business_scope,
gp.has_id_check,
gp.active_accommodations_per_deal_segmentation,
-- Dimensions --