Get pre-loved wares for less at this store
Federer was dominant in service and broke the 19-year-old three times to set up a final with American John Isner, who beat 18-year-old Canadian Felix Auger-Aliassime 7-6(3) 7-6(4).
"I enjoyed it. I think I played very well. I had to," Federer told reporters. "Because I think when you let Denis play, he's got some serious power, and he gets rhythm going. He can really put you in uncomfortable situations.
"So I think I did well, and I'm very happy how I played."
Federer took control of his semifinal early, breaking Shapovalov in the third game as his young opponent shanked a backhand.
The Swiss, who won his 100th title earlier this month in Dubai, broke again in the third game of the second set and served his way into the final against defending champion Isner, who is yet to drop a set in the tournament this year.
Isner, however, had to battle back in both sets against the 18-year-old Canadian, who led 5-3 in each set but was unable to seal the win.
"For sure (it was) nerves," said Auger-Aliassime, the youngest men's semi-finalist in the tournament's 35-year history. "It's like I caught a virus or something. I don't know. I couldn't put a second serve anymore.
"Even the first serve, if you put it in, you don't have to hit the second serve. That's just very tough to swallow."
Auger-Aliassime had appeared unbothered by being on the big stage against the crowd favourite playing attacking, aggressive tennis that rewarded him with the early break in each set.
Yet serving for the set, the Canadian's inexperience and nerves were exposed when he produced three of his seven double faults and opened the door for the 33-year-old American who went on to take the first tiebreak 7-3.
Auger-Aliassime regrouped and was on the attack again in the second, grabbing the early break to nose in front 4-2.
Again serving for the set at 5-3, he let Isner back in the contest as the American got back on serve with the help of yet another Auger-Aliassime double fault.
While Auger-Aliassime was misfiring, Isner's serve was booming, as he blasted 21 aces past his opponent.
"I think it (experience) may have helped a little bit," said Isner.
"But you see a lot of times where someone can have all the experience in the world or some teams can have all the experience in the world and they don't come through against an inexperienced opponent.
"Maybe he was a little bit fatigued because he came through qualifying. So could have been a little bit of inexperience and maybe a little bit of fatigue, also."
Get pre-loved wares for less at this store
The exhibition will be held at Taj Business Bay from 11am to 8 pm
The motorist was also fined Dh50,000 and the vehicle was impounded
The ship itself will be decked out in lights and seasonal decorations
After the tournament he aims to reflect on his Pro Journey, evaluate his performances and weigh his options for 2025
As Hezbollah leader Hassan Nasrallah speaks for the first time after the deadly blasts, Israeli fighter jets roared over Beirut, with sonic booms shaking buildings and sending residents scrambling for cover
If favourable market conditions continue, prices could reach between $2,600 and $2,800 over the next 12 months, says expert
One stranded expat went three days without eating and survived off water at mosques