Roger Federer remains on course to clinch his fifth Dubai Tennis Championships title after defeating Juan Martin del Potro at the semi-final stage on Friday.