added new metrics for not cancelled bookings
This commit is contained in:
parent
f5addc7f4c
commit
b9968c7a72
2 changed files with 80 additions and 4 deletions
|
|
@ -1811,13 +1811,15 @@ models:
|
|||
The unique key corresponds to the deepest granularity of the model,
|
||||
in this case:
|
||||
- date,
|
||||
- id_deal.
|
||||
- id_deal,
|
||||
- has_id_check.
|
||||
|
||||
tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date
|
||||
- id_deal
|
||||
- has_id_check
|
||||
|
||||
columns:
|
||||
- name: date
|
||||
|
|
@ -1861,24 +1863,48 @@ models:
|
|||
Sum of deposit fees paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
|
||||
- name: deposit_fees_not_cancelled_bookings_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of deposit fees associated to bookings, that are not cancelled, paid by guests,
|
||||
without taxes, in GBP in a given date and per specified dimension.
|
||||
|
||||
- name: waiver_payments_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of waiver payments paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
|
||||
- name: waiver_payments_not_cancelled_bookings_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of waiver payments associated to bookings, that are not cancelled, paid by guests,
|
||||
without taxes, in GBP in a given date and per specified dimension.
|
||||
|
||||
- name: checkin_cover_fees_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of checkin cover fees paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
|
||||
- name: checkin_cover_fees_not_cancelled_bookings_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of checkin cover fees associated to bookings, that are not cancelled, paid by guests,
|
||||
without taxes, in GBP in a given date and per specified dimension.
|
||||
|
||||
- name: total_guest_payments_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of total payments paid by guests, without taxes, in GBP
|
||||
in a given date and per specified dimension.
|
||||
|
||||
- name: total_guest_payment_not_cancelled_bookings_in_gbp
|
||||
data_type: decimal
|
||||
description: |
|
||||
Sum of total payments associated to bookings, that are not cancelled, paid by guests,
|
||||
without taxes, in GBP in a given date and per specified dimension.
|
||||
|
||||
- name: int_kpis__metric_monthly_guest_payments
|
||||
description: |
|
||||
This model computes the Monthly Guest Payments at the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue