in desktop, the class selection at the top will report on the whole invoice, and if you select it first it will fill in the class for all items
class on an item line, reports on just that item
So if you several items on a transaction, each you want to report in a different class, use the line item classes only. Because if you use the top class you will get all line items reported for that class