data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua 49a3c39b82 Merged PR 2217: Revert 'Computes (paid) guest revenue metric'
Adds the following metrics:

- Guest Revenue
by both visions (global and by deal id)

It creates 2 new models:
- int_core__mtd_guest_revenue_metrics
- int_core__monthly_guest_revenue_history_by_deal

the approaches are similar in the sense that we retrieve the information from the int_core__verification_payments and a filter by a PAID status. I checked and the aggregated volumes of the figures correspond to the decimal as what is reported to the guest_payments dashboard (aggregating the information from the currency tab)

Same as last PR, this one does not exposes the data since a refactor of how the code is structured will follow shortly.

Reverts !2199

Related work items: #18107
2024-07-05 15:19:35 +00:00
..
core Merged PR 2201: Fixing errors raised by texts 2024-07-05 15:12:04 +00:00
cross Merged PR 2217: Revert 'Computes (paid) guest revenue metric' 2024-07-05 15:19:35 +00:00
xero apply transaction sign in line items 2024-07-01 11:45:03 +02:00