You can group by multiple columns in your BAQ dashboard. The best way is to not group your BAQ at all, then do all the grouping in the dashboard. The only downside is that you can’t see it in the same way you can a report. Try it out. Take your ungrouped BAQ and make a dashboard. Before you deploy it, review the layout in the dashboard editor to make sure the grouping is setup the way you want. Then deploy it and add it to the menu.
Using Advanced Grouping will allow you to subtotal various groups.
Just like you pictured, you could sub total on the invoicedtl table.
State
Customer Name
Part Number
Invoice and line.
When you add the BAQ to a dashboard you can publish the state list (rename the description to State)
Then add the customers filtered by the state above, publish the custID (or CustNum)
etc.
Don’t have time to put out an example, but could later this week.