Hello Lyne1,
Glad to have you connect with us again. QuickBooks offers a variety of reports that help you streamline your work with ease. I'll be happy to share more info so you can continue to do the things you enjoy.
The closest report that provides the info you've described is the Sales by Class Detail report or the Sales by Class Summary. I recommend running these reports and filtering it so it shows the total of the class in question. Here's a helpful article that shows you how to: Customize reports in QuickBooks Online.
I also encourage you to check out this article here that goes over the: Reports included in your QuickBooks Online subscription. Let me know if this info helps. I'll be one message away in case you additional further assistance.