data-dwh-dbt-project/models/intermediate
Oriol Roqué Paniagua 328723b9ab Merged PR 2003: Business KPIs first draft
This PR aims to provide a first draft for business KPIs, at this stage **quite minimal**.

It mostly contains a MTD and Monthly display approach. No dimensions are created.

The models created are:
- **int_dates_mtd**: mainly it reads from int_dates to retrieve those days needed for a MTD/monthly display
- **int_core__mtd_booking_metrics**: it contains the booking metrics, ending in a format of date|value|value last year|increment
--> here we could add, in the future, additional metrics from other sources (ex: guest journey, etc)
- **int_core__mtd_aggregated_metrics**: it transforms the data coming from the different mtd intermediate sources to be easily displayed in the dashboard. This is a good candidate for macros :)
- **core__mtd_aggregated_metrics**: copy-paste of the its int_core version, including a bit of model documentation

The dashboard is functional but in another PR. I can show you how it looks like at the moment you are going to check the PR

Related work items: #17214
2024-06-11 15:45:57 +00:00
..
core Merged PR 2003: Business KPIs first draft 2024-06-11 15:45:57 +00:00
xero Revert "remove unnecessary nested objects since they can be joined in dwh" 2024-05-23 16:23:52 +02:00
int_dates.sql add dates master 2024-03-08 15:11:58 +01:00
int_dates_mtd.sql Merged PR 2003: Business KPIs first draft 2024-06-11 15:45:57 +00:00
int_hardcoded_historical_currency_rates.sql only hardcode starting point of rates, not ending 2024-03-13 17:49:26 +01:00