What I still noticed is that it can go beyond 6 months, but it can not go beyond 1 year. Can you set it beyond one year on mobile?
Ah yes, it can only export for a maximum of 1 year. Since OP is trying to export for the past 2 years he can do something like 2022-2023 then another request for 2021-2022. It works on my end. But you need to be specific since you can only do it for 5 times.
Usually the people do not know this, but yes we can extract the one year's data at a time in the downloadable form.
Other than this the OP also needs to know that he or she can only export the data 5 times in a month and not more than that. I guess the best option is to export the data for the whole year at once so that we can get the maximum data in single downloads.
Also since the data will be downloaded in Excel, one can very easily use this report to check his order history and also to know if we are in overall loss of profit in our trading career.