You may not be able to use the losses from your business to set against the pension income.
If you use the cash basis for your accounts, the losses can only be used against the same trade. see further guidance:
BIM85000 - Trade losses: contents
and associated links to see if you can actually claim them against the pension.