Revenue and order count grouped by product category from confirmed order lines in the period, excl. GST.
Tables: sale.order.line, product.product
Field: price_subtotal (excl. GST)
Formula: SUM(price_subtotal) GROUP BY product_id.categ_id ORDER BY revenue DESC LIMIT 10