*Metrics*\nIs it possible to define a function such as:\nsales_percentage =  sales / total_sales * 100\n\nsales = `select * from sales_table where date between d1 and d2`\ntotal_sales = `select * from sales_table`