Created new kpi daily model for new dash users

This commit is contained in:
Joaquin 2025-03-24 13:00:24 +01:00
parent c0a1e90fae
commit 1ebd1c5ccb
5 changed files with 213 additions and 173 deletions

View file

@ -5319,6 +5319,9 @@ models:
description: "This model contains the the services offered in New Dash.
These offers are displayed by different measures, such as the number of users,
accommodations and bookings."
meta:
deprecated: true
deprecation_date: "2025-06-30"
columns:
- name: service_display_name
@ -6084,39 +6087,3 @@ 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."