turn the trick
turn the trick {v. phr.}, {informal}
To bring about the result you want; succeed in what you plan to do.
Jerry wanted to win both the swimming and diving contests, but he couldn't quite turn the trick.
Compare: DO THE TRICK.
Categories:
Source: A Dictionary of American Idioms