commit agg_monthly_guest_payments
This commit is contained in:
parent
50b09c56a1
commit
c89c72aace
3 changed files with 10 additions and 2 deletions
|
|
@ -117,7 +117,6 @@ Provides a general assignemnt for the Dimensions available for each KPI
|
||||||
{% set additional_dimensions = additional_dimensions + [dim_dash()] %}
|
{% set additional_dimensions = additional_dimensions + [dim_dash()] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{# Add entity-specific dimensions #}
|
|
||||||
{% if entity_name == "CHECK_IN_ATTRIBUTED_GUEST_JOURNEYS" %}
|
{% if entity_name == "CHECK_IN_ATTRIBUTED_GUEST_JOURNEYS" %}
|
||||||
{% set additional_dimensions = additional_dimensions + [
|
{% set additional_dimensions = additional_dimensions + [
|
||||||
dim_has_payment(),
|
dim_has_payment(),
|
||||||
|
|
@ -125,6 +124,12 @@ Provides a general assignemnt for the Dimensions available for each KPI
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if entity_name == "PAYMENT_DATE_ATTRIBUTED_GUEST_PAYMENTS" %}
|
||||||
|
{% set additional_dimensions = additional_dimensions + [
|
||||||
|
dim_has_id_check(),
|
||||||
|
] %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{# Combine base dimensions with additional dimensions for the specific model #}
|
{# Combine base dimensions with additional dimensions for the specific model #}
|
||||||
{% set dimensions = base_dimensions + additional_dimensions %}
|
{% set dimensions = base_dimensions + additional_dimensions %}
|
||||||
{{ return(dimensions) }}
|
{{ return(dimensions) }}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
{% set dimensions = get_kpi_dimensions_per_model("GUEST_PAYMENTS") %}
|
{% set dimensions = get_kpi_dimensions_per_model(
|
||||||
|
"PAYMENT_DATE_ATTRIBUTED_GUEST_PAYMENTS"
|
||||||
|
) %}
|
||||||
|
|
||||||
{{
|
{{
|
||||||
config(
|
config(
|
||||||
|
|
|
||||||
|
|
@ -2370,6 +2370,7 @@ models:
|
||||||
- by_number_of_listings
|
- by_number_of_listings
|
||||||
- by_billing_country
|
- by_billing_country
|
||||||
- by_deal
|
- by_deal
|
||||||
|
- by_has_id_check
|
||||||
|
|
||||||
- name: dimension_value
|
- name: dimension_value
|
||||||
data_type: string
|
data_type: string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue