Addressed comments
This commit is contained in:
parent
1c6f23f269
commit
25a89208c4
7 changed files with 148 additions and 36 deletions
15
models/reporting/core/core__new_dash_services_offered.sql
Normal file
15
models/reporting/core/core__new_dash_services_offered.sql
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
with
|
||||
int_core__new_dash_services_offered as (
|
||||
select * from {{ ref("int_core__new_dash_services_offered") }}
|
||||
)
|
||||
select
|
||||
product_service_display_name as product_service_display_name,
|
||||
number_users as number_users,
|
||||
number_accommodations as number_accommodations,
|
||||
number_active_accommodations as number_active_accommodations,
|
||||
number_inactive_accommodations as number_inactive_accommodations,
|
||||
number_bookings as number_bookings,
|
||||
number_approved_bookings as number_approved_bookings,
|
||||
number_cancelled_bookings as number_cancelled_bookings,
|
||||
number_flagged_bookings as number_flagged_bookings
|
||||
from int_core__new_dash_services_offered
|
||||
|
|
@ -1567,3 +1567,76 @@ models:
|
|||
- name: chose_checkin_cover
|
||||
data_type: boolean
|
||||
description: "Boolean value indicating if the guest chose CheckIn Cover."
|
||||
|
||||
- name: core__new_dash_services_offered
|
||||
description: "This model contains the the services offered in New Dash.
|
||||
This offers are displayed by different levels, such as the number of users,
|
||||
accommodations and bookings."
|
||||
|
||||
columns:
|
||||
- name: product_service_display_name
|
||||
data_type: text
|
||||
description: "The name of the product service."
|
||||
data_tests:
|
||||
- not_null
|
||||
- accepted_values:
|
||||
values:
|
||||
- "BASIC SCREENING"
|
||||
- "SCREENING PLUS"
|
||||
- "ID VERIFICATION"
|
||||
- "SEX OFFENDERS CHECK"
|
||||
- "BASIC DAMAGE DEPOSIT"
|
||||
- "BASIC WAIVER"
|
||||
- "WAIVER PLUS"
|
||||
- "WAIVER PRO"
|
||||
- "BASIC PROTECTION"
|
||||
- "PROTECTION PLUS"
|
||||
- "PROTECTION PRO"
|
||||
|
||||
- name: number_users
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of user accounts that have a bundle that considers this service.
|
||||
The fact that a user has a bundle with the service included does not mean
|
||||
that the service is active or used. Each user can associate any of their
|
||||
bundles with any of their accommodations."
|
||||
|
||||
- name: number_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service."
|
||||
|
||||
- name: number_active_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service and are active."
|
||||
|
||||
- name: number_inactive_accommodations
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of accommodations or listings that have a bundle that considers
|
||||
this service and are inactive."
|
||||
|
||||
- name: number_bookings
|
||||
data_type: bigint
|
||||
description: "Number of bookings that have a bundle that considers this service."
|
||||
|
||||
- name: number_approved_bookings
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of bookings that have a bundle that considers this service and
|
||||
are approved."
|
||||
|
||||
- name: number_cancelled_bookings
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of bookings that have a bundle that considers this service and
|
||||
are cancelled."
|
||||
|
||||
- name: number_flagged_bookings
|
||||
data_type: bigint
|
||||
description:
|
||||
"Number of bookings that have a bundle that considers this service and
|
||||
are flagged."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue