changed to cube instead of rollup

This commit is contained in:
Joaquin Ossa 2025-01-16 14:21:00 +01:00
parent e98b60f335
commit f3201b3c77
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ It provides a proper display name for reporting purposes.
{"dimension": "'global'", "dimension_display": "'Global'"},
{
"dimension": "'by_number_of_listings'",
"dimension_display": "'By # of Listings Booked in 12 Months'",
"dimension_display": "'By # of Listings'",
},
{
"dimension": "'by_billing_country'",

View file

@ -36,7 +36,7 @@ with
and date_trunc('month', m.date)::date <> date_trunc('month', now())::date
where d.hubspot_listing_segmentation <> 'UNSET'
group by
rollup (
cube (
m.date,
d.hubspot_listing_segmentation,
d.main_billing_country_iso_3_per_deal