data-dwh-dbt-project/models/reporting
Oriol Roqué Paniagua f230eb3af5 Merged PR 3247: Enriches monthly_growth_by_deal model for top losers reporting
# Description

Changes:
* Explicit selection of fields in the last part of the query, rather than select *.
* Adding a few more Hubspot attributes, namely: AM, Hubspot Stage, Live Date and Cancellation Date. The main idea is to enrich the reporting with these.
* Adding the listings over 12 months. Here it's a bit more tricky than for Revenue or Bookings, since to me the main indicator is the amount of listings that are being booked in a month, over a period of 12 months (rather than unique count of listings that have been booked in the past 12 months). However, doing a sum of the listings booked in month will be very tricky for AMs and other users. I opted for averaging, and can be considered as, in average, a certain account has X amount of listings with bookings created, and this average considers the past 12 months. So I'd say it's a good estimate of the "real" size of a client in terms of potential for Superhog.

# Checklist

- [X] The edited models and dependants run properly with production data.
- [X] The edited models are sufficiently documented.
- [X] The edited models contain PK tests, and I've ran and passed them.
- [NA] I have checked for DRY opportunities with other models and docs.
- [NA] I've picked the right materialization for the affected models.

# Other

- [ ] Check if a full-refresh is required after this PR is merged.

Related work items: #22883
2024-10-18 13:17:52 +00:00
..
athena missing docs 2024-10-08 17:25:16 +02:00
core Merged PR 3239: Decommission Verification Payments V1 2024-10-18 09:59:29 +00:00
edeposit deprecate model and remove docs 2024-10-16 16:21:35 +02:00
general Merged PR 3247: Enriches monthly_growth_by_deal model for top losers reporting 2024-10-18 13:17:52 +00:00
xero Remove .sql in the xero__bank_transaction_denom_mart 2024-09-18 13:52:55 +02:00
exposures.yml Merged PR 3239: Decommission Verification Payments V1 2024-10-18 09:59:29 +00:00