diff --git a/models/intermediate/kpis/schema.yml b/models/intermediate/kpis/schema.yml index f96fd9b..bda9380 100644 --- a/models/intermediate/kpis/schema.yml +++ b/models/intermediate/kpis/schema.yml @@ -6727,14 +6727,11 @@ models: The created services for a given time granularity, date or dates range, 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 diff --git a/models/reporting/kpis/kpis__product_new_dash_agg_metrics.sql b/models/reporting/kpis/kpis__product_new_dash_agg_metrics.sql index c09e00d..bbdb31f 100644 --- a/models/reporting/kpis/kpis__product_new_dash_agg_metrics.sql +++ b/models/reporting/kpis/kpis__product_new_dash_agg_metrics.sql @@ -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, diff --git a/models/reporting/kpis/schema.yml b/models/reporting/kpis/schema.yml index 0bbe918..79da89d 100644 --- a/models/reporting/kpis/schema.yml +++ b/models/reporting/kpis/schema.yml @@ -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