Improved New Dash Services usage
This commit is contained in:
parent
12e0f55b08
commit
c0a1e90fae
3 changed files with 173 additions and 0 deletions
|
|
@ -6084,3 +6084,39 @@ models:
|
|||
Date of when this record was last updated.
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: int_core__daily_new_dash_services_applied
|
||||
description: |
|
||||
This model tracks the daily usage of different services of New Dash
|
||||
applied across users, listings, and bookings.
|
||||
|
||||
data_tests:
|
||||
- dbt_utils.unique_combination_of_columns:
|
||||
combination_of_columns:
|
||||
- date_day
|
||||
- service_display_name
|
||||
|
||||
columns:
|
||||
- name: date_day
|
||||
data_type: date
|
||||
description: "The date for which the service usage is recorded."
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: service_display_name
|
||||
data_type: string
|
||||
description: "The name of the service being tracked. 'Global' aggregates all services."
|
||||
data_tests:
|
||||
- not_null
|
||||
|
||||
- name: count_users
|
||||
data_type: integer
|
||||
description: "The number of distinct users (hosts) who have applied this service."
|
||||
|
||||
- name: count_accommodations
|
||||
data_type: integer
|
||||
description: "The number of distinct listings that have this service applied."
|
||||
|
||||
- name: count_bookings
|
||||
data_type: integer
|
||||
description: "The number of distinct bookings that have this service applied."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue