Revert cross models

This commit is contained in:
Joaquin 2024-11-05 12:37:31 +01:00
parent 092e37d58c
commit 5bcfd7cb9c
8 changed files with 18 additions and 18 deletions

View file

@ -307,7 +307,7 @@ models:
tests:
- not_null
- name: mtd_agg_metrics
- name: mtd_aggregated_metrics
description: |
This model aggregates the historic information of our business by providing
different metrics computed at global and dimension level.
@ -447,19 +447,19 @@ models:
positive impact for Superhog, otherwise is equal to relative_increment.
This value is specially created for formatting in PBI
- name: monthly_agg_metrics_history_by_deal
- name: monthly_aggregated_metrics_history_by_deal
description: |
This model aggregates the monthly historic information regarding the different metrics computed
at deal level. The primary source of data is the `int_monthly_XXXXX_history_by_deal`
model which contain the raw metrics data per source.
This table is used to provide "By Deal" metrics in the Business Overview reporting.
Unlike the mtd_agg_metrics, this model does not abstract each metric, since
Unlike the mtd_aggregated_metrics, this model does not abstract each metric, since
no comparison versus last year is performed. In short, it just gathers the information stored
in the abovementioned models.
To keep in mind: aggregating the information of this model will not necessarily result into
the int_mtd_agg_metrics because 1) the mtd version contains more computing dates
the int_mtd_aggregated_metrics because 1) the mtd version contains more computing dates
than the by deal version, the latest being a subset of the first, and 2) the deal based model
enforces that a booking/guest journey/listing/etc has a host with a deal assigned, which is
not necessarily the case.