After reading the tutorials for the last 2 hours and a few forum searches i’m still completely stuck.
I am trying to create a custom report to show a breakdown of all drinks sold. The default samba one has food and drink mixed.
I created product tags (called Kitchen) and then tag’d each item, don’t know how to get this to filter on the report just to show certain product tags, or a breakdown by each tag. Would be grateful for any help. Thanks
Tried this syntax [Sales by Product Tags:1, 1] {REPORT ORDER DETAILS:MT.Type,O.ExactTotal.Sum} Total|{REPORT ORDER DETAILS:O.ExactTotal.Sum}
[Sale Groups:2, 1, 1]
@{REPORT ORDER DETAILS:MT.Kitchen,O.Quantity.Sum::{0}:,}
>>$1
{REPORT ORDER DETAILS:M.GroupCode,O.Quantity.Sum,O.ExactTotal.Sum:(MT.Kitchen=$1)}
>Total:||{REPORT ORDER DETAILS:O.ExactTotal.Sum:(MT.Kitchen=$1)}
[Sale Groups:2, 1, 1]
@{REPORT ORDER DETAILS:MT.Kitchen,O.Quantity.Sum::{0}:,}
>>$1
{REPORT ORDER DETAILS:O.MenuItemName,O.Quantity.Sum,O.ExactTotal.Sum:(MT.Kitchen=$1)}
>Total:||{REPORT ORDER DETAILS:O.ExactTotal.Sum:(MT.Kitchen=$1)}
I added 2 Tag (Kitchen and Bar) and can now run nicely separated Reports on my 2 main business…, the only thing I missing is a GRAND TOTAL, to sum up the Sub-Totals of each Group