From 9750fa9e141517f350a0d3df49aaf010e19d09d8 Mon Sep 17 00:00:00 2001 From: Joaquin Date: Tue, 1 Apr 2025 15:37:41 +0200 Subject: [PATCH] Adding total_listings_with_active_product_bundle_with_paid_service --- models/intermediate/core/int_core__new_dash_user_overview.sql | 1 + models/reporting/core/core__new_dash_user_overview.sql | 2 ++ 2 files changed, 3 insertions(+) diff --git a/models/intermediate/core/int_core__new_dash_user_overview.sql b/models/intermediate/core/int_core__new_dash_user_overview.sql index cd06eea..8bafed5 100644 --- a/models/intermediate/core/int_core__new_dash_user_overview.sql +++ b/models/intermediate/core/int_core__new_dash_user_overview.sql @@ -140,6 +140,7 @@ select total_listings, total_active_listings, total_listings_with_product_bundle_with_paid_service, + total_listings_with_active_product_bundle_with_paid_service, case when total_active_listings > 0 then 1 else 0 end as has_active_listings, case when total_listings_with_product_bundle_with_paid_service > 0 then 1 else 0 diff --git a/models/reporting/core/core__new_dash_user_overview.sql b/models/reporting/core/core__new_dash_user_overview.sql index eb10048..3e94244 100644 --- a/models/reporting/core/core__new_dash_user_overview.sql +++ b/models/reporting/core/core__new_dash_user_overview.sql @@ -22,6 +22,8 @@ select total_active_listings as total_active_listings, total_listings_with_product_bundle_with_paid_service as total_listings_with_product_bundle_with_paid_service, + total_listings_with_active_product_bundle_with_paid_service + as total_listings_with_active_product_bundle_with_paid_service, has_active_listings as has_active_listings, has_listings_with_paid_service_applied as has_listings_with_paid_service_applied, has_listings_with_active_paid_service_applied