wip
This commit is contained in:
parent
ee1bd1976a
commit
7213a34d1c
1 changed files with 27 additions and 0 deletions
|
|
@ -171,6 +171,33 @@ with
|
|||
dimension in ('global', 'by_number_of_listings', 'by_billing_country')
|
||||
and dimension_value <> 'UNSET'
|
||||
),
|
||||
int_monthly_onboarding_mrr_metrics as (
|
||||
select
|
||||
date,
|
||||
'by_number_of_listings' as dimension,
|
||||
hubspot_listing_segmentation as dimension_value,
|
||||
expected_mrr
|
||||
from {{ ref("int_monthly_onboarding_mrr_metrics") }}
|
||||
where
|
||||
main_billing_country_iso_3 = 'global'
|
||||
and hubspot_listing_segmentation <> 'global'
|
||||
union all
|
||||
select
|
||||
date,
|
||||
'by_billing_country' as dimension,
|
||||
main_billing_country_iso_3 as dimension_value,
|
||||
expected_mrr
|
||||
from {{ ref("int_monthly_onboarding_mrr_metrics") }}
|
||||
where
|
||||
hubspot_listing_segmentation = 'global'
|
||||
and main_billing_country_iso_3 <> 'global'
|
||||
union all
|
||||
select date, 'global' as dimension, 'global' as dimension_value, expected_mrr
|
||||
from {{ ref("int_monthly_onboarding_mrr_metrics") }}
|
||||
where
|
||||
hubspot_listing_segmentation = 'global'
|
||||
and main_billing_country_iso_3 = 'global'
|
||||
),
|
||||
|
||||
plain_kpi_combination as (
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue