Update reporting model

This commit is contained in:
Joaquin 2025-04-02 08:22:21 +02:00
parent 60dfae5cf4
commit 78e2474a87
3 changed files with 7 additions and 13 deletions

View file

@ -11,7 +11,7 @@ select
deal_with_offered_service_count as deal_with_offered_service_count,
accommodation_with_offered_service_count
as accommodation_with_offered_service_count,
created_bookings_count as created_bookings_count,
created_bookings as created_bookings,
total_chargeable_services as total_chargeable_services,
total_chargeable_amount_in_gbp as total_chargeable_amount_in_gbp,
unique_chargeable_bookings as unique_chargeable_bookings,

View file

@ -327,14 +327,11 @@ models:
description: |
The count of accommodations with services offered by a given date, dimension and value.
- name: booking_with_created_services_count
- name: created_bookings
data_type: bigint
description: |
The bookings with created services for a given time granularity, date or
dates range, dimension and value.
This is an approximation to booking count since different services can
apply to the same booking and these do not need to be created in the same
time period. Therefore, it's not an additive metric.
The amount of created bookings for a given time granularity, date or dates range,
dimension and value.
- name: total_chargeable_services
data_type: integer