While lenders tend to look at your average net profit over two (sometimes three) years, if your most recent full year's net profits are less than the average, some lenders might use this lesser figure as the basis for how much you can borrow.
A mortgage broker will be able to give you more information about the calculations various lenders will use.