(CNN) -- Revenge proved sweet for Roger Federer and now he has World No.2 Novak Djokovic in his sights at the Paris Masters. Federer lost in Sunday's final of his hometown tournament in Basel to Juan Martin Del Potro but fast forward five days and the Swiss maestro turned the tables in another tight three set encounter in the French capital. The 6-3 4-6 6-3 victory earned him a semifinal clash with Djokovic, who earlier dispatched Federer's compatriot Stanislas Wawrinka in straight sets. "That's definitely good for my confidence, because those are the kind of wins I need right now," Federer told the ATP Tour website.
@highlight
Roger Federer turns tables on Argentina's Juan Martin Del Potro
@highlight
Federer lost to Del Potro in Basel final but won quarterfinal clash in Paris
@highlight
He will face Novak Djokovic for place in final of the Masters 1000 event
@highlight
Rafael Nadal beats Richard Gasquet to reach semifinals
World No.1 Rafael Nadal joined his arch rivals in the last four with victory in the first match of the evening session Friday against home favorite @placeholder.