Merged PR 4400: Adds Billable Bookings split per scope
# Description Changes: * Adds Business Scope split on Billable Bookings + propagates towards Agg/Metric Monthly/MTD models This is a temporary modification until the ticket on Billable Bookings for New Dash is handled. # 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: #27356
This commit is contained in:
parent
4b94d5f70b
commit
a690ca6eac
5 changed files with 79 additions and 9 deletions
|
|
@ -136,17 +136,18 @@ Provides a general assignement for the Dimensions available for each KPI
|
|||
|
||||
{# Add entity-specific dimensions #}
|
||||
{% if entity_name in [
|
||||
"BILLABLE_BOOKINGS",
|
||||
"CHECK_OUT_BOOKINGS",
|
||||
"COMPLETED_GUEST_JOURNEYS",
|
||||
"CREATED_BOOKINGS",
|
||||
"CREATED_GUEST_JOURNEYS",
|
||||
"DEALS",
|
||||
"GUEST_JOURNEYS_WITH_PAYMENT",
|
||||
"GUEST_PAYMENTS",
|
||||
"STARTED_GUEST_JOURNEYS",
|
||||
"INVOICED_REVENUE",
|
||||
"HOST_RESOLUTIONS",
|
||||
"INVOICED_REVENUE",
|
||||
"LISTINGS",
|
||||
"DEALS",
|
||||
"STARTED_GUEST_JOURNEYS",
|
||||
] %}
|
||||
{% set additional_dimensions = additional_dimensions + [dim_business_scope()] %}
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue