| qt_rollup | R Documentation |
Produces a query that performs a rollup operation on a cube-like table.
qt_rollup(dimensions, metrics, table_name, where = NULL, order_by = dimensions)
dimensions |
dimensions to roll up by |
metrics |
aggregations that will be performed on each dimension |
table_name |
table to query |
where |
constraints |
order_by |
order by |
a query
qt_rollup( c(order_date = "date", "country"), c(sales = "sum(sales)"), 'metrics_table' )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.