From 13bb35ec70245067a878baebb2e065f5c5d217b7 Mon Sep 17 00:00:00 2001 From: Joaquin Ossa Date: Fri, 10 Jan 2025 09:51:29 +0100 Subject: [PATCH] PMS data to reporting --- .../general/monthly_growth_score_by_deal.sql | 2 ++ models/reporting/general/schema.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/models/reporting/general/monthly_growth_score_by_deal.sql b/models/reporting/general/monthly_growth_score_by_deal.sql index de91ce8..c886a6a 100644 --- a/models/reporting/general/monthly_growth_score_by_deal.sql +++ b/models/reporting/general/monthly_growth_score_by_deal.sql @@ -7,6 +7,8 @@ select id_deal as id_deal, main_deal_name as main_deal_name, + has_active_pms as has_active_pms, + active_pms_list as active_pms_list, main_billing_country_iso_3_per_deal as main_billing_country_iso_3_per_deal, deal_lifecycle_state as deal_lifecycle_state, deal_hubspot_stage as deal_hubspot_stage, diff --git a/models/reporting/general/schema.yml b/models/reporting/general/schema.yml index 24b4fde..d5e3f89 100644 --- a/models/reporting/general/schema.yml +++ b/models/reporting/general/schema.yml @@ -593,6 +593,19 @@ models: tests: - not_null + - name: has_active_pms + data_type: boolean + description: | + Does the deal have an active associated PMS. + tests: + - not_null + + - name: active_pms_list + data_type: string + description: | + Name of the active PMS associated with the deal. It can have more than + one PMS associated with it. It can be null if it doesn't have any PMS associated. + - name: main_billing_country_iso_3_per_deal data_type: string description: |