I’m glad to see you in the Community, @drsreeharini.
Let’s run the Profit and Loss Report and customize it to the correct period. This way, you’ll get a comparison of the data from last year. The process is a breeze, and I’m here to help and guide you.
1. Go to the Reports menu on the left pane.
2. In the Profit and loss section, click the drop-down to select the Custom date option.
3. Enter the correct month in the Start and End dates fields.

4. Click Apply and View to see the changes.
5. Go to the Income section to check the amount.
6. Press the Printer icon to get a copy or choose the Download menu to save the file.
7. Perform the same process to get the information for the period.
I’m adding a guide that contains resources to easily guide you on how to handle reports in QBSE: Create and manage reports.
Don’t hesitate to click the Reply button if you have any other concerns. I’ll jump right back in to answer them for you. Take care, and have a great day ahead.