You can use the Location tracking feature, Adam2023. Let me share some details to ensure you can accomplish the QuickBooks task.
The option is used to categorize data from various departments, outlets, offices, stores, and regions. Please be aware that this is only available for QBO Plus and Advanced versions.
I'll walk you through how to turn this on:
- Go to Settings and select Account and settings.

- Scroll down to the Advanced tab.
- In the Categories section, select the Edit ✎ icon.
- Select the checkbox to track locations and choose Department and Store from the dropdown.
- Select Save, then Done.

Then, you can associate locations with your transactions by department and store. After that, run the P&L report by Department and Store from the Reports page.
You can, however, use the class and tags features as well. Even so, it's preferable to choose the location tracking option based on your scenario.
You're always welcome to post reply in this thread if you have other concerns. I'll be more than happy to back you up! Keep safe.