 At the Dubai Tennis Championships , he defeated Novak Djokovic in the semifinals , and then defeated Tomáš Berdych in the final to win his sixth Dubai crown and his first title since Halle in 2013 . Federer made the final at the Indian Wells Masters , but lost to Novak Djokovic in a final @-@ set tiebreaker . At the Davis Cup quarterfinals , Federer won both of his singles rubbers against Kazakhstan , the second of which was the first live deciding rubber of his Davis Cup career . Federer then took a wild card into the Monte @-@ Carlo Masters defeating Novak Djokovic on his way to the finals , but lost to compatriot Stan Wawrinka in a tight final . 
