Try this
[Sales:1, 1, 1]
@{REPORT ORDER DETAILS:O.Department::{0}:,}
>Name|Qty|Total
>$1
{REPORT ORDER DETAILS:O.MenuItemName.asc,O.Quantity,O.ExactTotal.Sum:(ODI=True) and (DE=$1)}
>>Total|{REPORT ORDER DETAILS:O.ExactTotal.Sum:(ODI=True) and (DE=$1)}