Am I able to get report for 1 expense account over 3 years

My client needs to give the bank the shareholders salary for the last 3 years broken down by year this is in the P&L or Balance sheet I am not sure if I can do a custom report

Under Reports create a General Ledger Transaction using the required dates. Export the report into a spreadsheet and then extract the required data into your own presentation format.