Djokovic, the world's No. 1 tennis player and last year's champion, won the first two sets - 6-1, 6-2. He lost in the third set, 3-6, and won the fourth set, 6-3.
In the final, he will play against Andy Murray or Milos Raonic, whose semi-final match will take place on Friday night.