I have a query that creates a table splitting out sales data by department (tops, bottoms, jewelry, etc). I then set a date period and sum the total sales, items and costs for each department as individual columns.
I'd now like to include a "Total" row to the table. I thought this could be handled by using insert:
`SalesByDept insert (enlist `total;sum(QTY);sum(Sales);sum(Cost))
This doesn't work but the strange thing is I can't even just insert a total row by doing
`SalesByDept insert (enlist `total;1;1;1)
Error: 'type
Anybody know where I'm getting tripped up?