Hello there, @michelle-santoyo.
The Profit and Loss report shows you the total amount of each sub-accounts. You can consider running the Profit and Loss Detail report to view the individual transactions under each sub-accounts. I'd be glad to guide you how.
In your QuickBooks Online (QBO) account, go the Reports menu and search for Profit and Loss Detail report.
However, if you wish to add a subtotal line to your Profit and Loss. You can export the report to Excel and add a subtotal line from there. Here's an article you can read for the detailed steps: Export your reports to Excel from QuickBooks Online.
Also, I'm adding this great article that can guide you on how to generate reports to show the information you need: Customize reports in QuickBooks Online.
Let me know if you have any other concerns or questions in the comment section below. I'd be more than happy to help.