changed to cube instead of rollup
This commit is contained in:
parent
e98b60f335
commit
f3201b3c77
2 changed files with 2 additions and 2 deletions
|
|
@ -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'",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue