Full code base analysis on pull request


We are using SonarQube in addition of Azure Devop + Git.
We have a branch protected with a strategy that run a build in which we are running SonarQube analysis.
When we start a pull request, the build starts and publish on our SonarQube server, but only the new code is analysed and previous code is not reanalysed so the issues are not closed after correction.

If a start the same build manually, all the code is analysed and issues are closed.
Is it possible to run SonarQube on all code base on a pull request?