I use user-defined quality gate which requires 65% od coverage.
Sonar indicates that everything is fine all factors meet requirements but it marks Quality Gate as failed. New code indeed fails but why overall code also is red?
The Quality Gate is all-encompassing (New Code and Overall Code). There is no separate Quality Gate.