Hi sach-family!
Thanks for posting again here.
Making customers or products inactive won't delete the transactions in QuickBooks Online. This is to ensure that the company data is intact and accurate. This means it won't affect the profit and loss report even if they are inactive. It only serves as an identifier that they are no longer part of your business.
Need help in making the report more presentable? Here's how to customise reports in QuickBooks Online.
Post again here if you need anything else. We'll respond as soon as we can.