Commit graph

214 commits

Author SHA1 Message Date
Pablo Martin
f9fcb76ed1 schemas 2024-06-25 16:42:40 +02:00
Pablo Martin
86ca7411af remove line items: they have their own tables now 2024-06-25 16:41:41 +02:00
Pablo Martin
5fbf5a76fd add documentation placeholder 2024-06-25 16:25:26 +02:00
Pablo Martin
71278abbb9 remove outdated docs 2024-06-25 16:25:26 +02:00
Pablo Martin
8b1d949f73 add bank transactions to reporting 2024-06-25 16:25:26 +02:00
Joaquin Ossa
31feff162a Fixed names of tables 2024-06-19 11:59:45 +02:00
Joaquin Ossa
f64b17a223 Created currency exchange tables 2024-06-19 11:52:28 +02:00
Oriol Roqué Paniagua
4958976733 Merged PR 2053: Added number_format category in mtd_aggregated_metrics
Added number_format category in mtd_aggregated_metrics

Related work items: #17458
2024-06-17 14:59:01 +00:00
uri
c8807ddf60 Adding exposure of main kpis dashboard 2024-06-17 14:04:51 +02:00
Oriol Roqué Paniagua
4f6728003a Merged PR 2029: Guest Journey - start date based on used link
Added verification estimated started at/date utc.
Ensured continuity for existing reports

I also noticed I missed one propagation of the end date, it's fixed here.

Note: changed the naming from 'start' to 'started' since we already had 'completed' and 'used_link'

Related work items: #17268
2024-06-13 14:53:58 +00:00
Oriol Roqué Paniagua
7914d7d8d7 Merged PR 2028: guest journey estimated completed date
This PR includes the logic to handle the completed date of guest journey

Check the schema file to understand the logic implemented. It's an estimation, and in some cases, weird stuff happens on end dates before link usage dates, which effectively breaks the computation. I added a boolean for this

Related work items: #17268
2024-06-13 13:30:22 +00:00
Joaquin Ossa
c4f87d9403 Applied changes according to comments 2024-06-12 15:11:07 +02:00
Joaquin Ossa
33aac0be1a Added core__unified_user to reporting with the documentation 2024-06-12 15:11:07 +02:00
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
Pablo Martín
366aa7d1ac Merged PR 2005: Replace Guest Details in CheckIn Cover models with details coming from User table
Fixes https://guardhog.visualstudio.com/Data/_boards/board/t/Data%20Team/Stories/?workitem=17240

Related work items: #17240
2024-06-10 15:30:26 +00:00
Joaquin Ossa
1bb4229dce updated docs for core__verification_requests from Pablo's comments 2024-06-10 11:32:04 +02:00
Joaquin Ossa
5e7504499f Added description document for core__verification_requests 2024-06-06 12:00:07 +02:00
Joaquin Ossa
a5074a1545 Created verification_requests model in report 2024-06-06 10:11:34 +02:00
Oriol Roqué Paniagua
3610c447f5 Merged PR 1949: Fix documentation in DWH and include exposure
Related work items: #16857
2024-05-30 10:37:41 +00:00
uri
f021f3cb29 Changed schema.yaml with the correct field 2024-05-30 10:03:05 +02:00
uri
e360c1c785 Setting xero__net_fees_by_deal as per deal id, not dedicated to guesty 2024-05-30 10:00:39 +02:00
uri
bf0010ceeb Adding model xero__net_fees_by_deal documentation in schema.yaml. Added Waiver Fees in xero__net_fees documentation. 2024-05-30 09:15:53 +02:00
uri
de4ab5b6e5 Created xero__net_fees_by_deal with guesty 2024-05-29 18:03:58 +02:00
Pablo Martin
053024e507 add proper value to waiver_items array 2024-05-29 13:23:05 +02:00
Pablo Martin
7148220061 add net fees 2024-05-29 11:29:56 +02:00
Pablo Martin
e2645814e4 update exposures 2024-05-23 16:15:43 +02:00
Pablo Martin
1f24965a23 remove outdated denom invoicing mart 2024-05-23 16:14:44 +02:00
Pablo Martin
65f5b7377a use date field instead of breaking things down 2024-05-23 16:13:53 +02:00
Pablo Martin
b0528ec2c0 switch to a single model with a case, docs for it 2024-05-23 15:22:42 +02:00
Pablo Martin
b34da23a94 update docs 2024-05-22 11:45:04 +02:00
Pablo Martin
fcb951211d remove a couple of unnecessary cols 2024-05-22 11:44:59 +02:00
Pablo Martin
93c2de6f03 macro logic, need to clean a bit 2024-05-17 17:54:20 +02:00
Pablo Martin
75fe0e510a kind of done, checkpoint before macro-ing 2024-05-17 15:44:58 +02:00
Pablo Martin
fb89652159 added credit note reporting models 2024-05-17 15:27:58 +02:00
Pablo Martin
08ea22eee9 docs formatting 2024-05-16 16:22:41 +02:00
Pablo Martin
9068774f35 more docs 2024-05-16 16:06:07 +02:00
Pablo Martin
fa2a79e973 more docs 2024-05-16 16:02:23 +02:00
Pablo Martin
5d2cc0c17b more docs 2024-05-16 15:47:12 +02:00
Pablo Martin
e559c62bd6 updates on schema 2024-05-15 19:20:59 +02:00
Pablo Martin
751219a768 add dependency on exposure 2024-05-15 19:11:28 +02:00
Pablo Martin
eba636b16c a few small details 2024-05-14 16:20:48 +02:00
Pablo Martin
bc4ca1cbc3 lots of currency stuff 2024-05-14 12:26:02 +02:00
Pablo Martin
908ec75d17 denormalized line item table to ease pbi 2024-05-13 18:08:53 +02:00
Pablo Martin
f8fcf7f2b5 reporting models 2024-05-13 16:52:55 +02:00
Pablo Martin
9c338a31ce propagating renames 2024-05-08 12:03:44 +02:00
Pablo Martin
9b9e5c32b5 missing exposure 2024-05-07 17:55:03 +02:00
Pablo Martin
18b319de00 add exposure 2024-05-06 17:52:42 +02:00
Pablo Martin
001b59540a add docs for reporting model 2024-05-06 17:50:08 +02:00
Pablo Martin
3b1301ff6e a few more details 2024-05-03 17:24:35 +02:00
Pablo Martin
a83cb7f100 final reporting model 2024-04-29 14:41:46 +02:00