MILWAUKEE (AP) _ Ersan Ilyasova had 20 points, and the rebuilding Bucks climbed above .500 for the first time in more than a year.
Zaza Pachulia added season highs of 14 points and 13 rebounds for Milwaukee, which improved to 6-5 on the year. It was the first time the team had a winning record since March 20, 2013, when it was 34-33.
New York cut a 26-point deficit to 115-113 with 7.9 seconds left, but Milwaukee managed to hold on.
Carmelo Anthony had 26 points for the Knicks, and Tim Hardaway Jr. scored 24.
The balanced Bucks had seven players score in double figures.