Belgium's Goffin had never previously beaten the Swiss 19-time Grand Slam champion in six attempts and was in deep trouble after losing the first set but he stormed back to win 2-6, 6-3, 6-4.
In the later semi-final, Bulgarian sixth seed Dimitrov ended Jack Sock's fairytale late-season run 4-6, 6-0, 6-3 in a battle pitting the American's big forehand against Dimitrov's rapier-like backhand.
Goffin will be hoping for a different outcome from the round-robin meeting earlier in the week, which Dimitrov won 6 -0, 6-2.
World number two Federer, 36, won his ninth consecutive set against his 26-year-old opponent in just 33 minutes.
But the seventh seed, who 24 hours earlier admitted he did not have a clue how to beat Federer, hit back early in the second set to break and, rejuvenated, knocked his illustrious opponent out of his rhythm.
Federer, suddenly looking vulnerable and unable to dominate, was powerless to stem the tide as Goffin went on to level the match before breaking again early in the decider.
"As soon as I had the chance to go for the shot from the return and from the serve, (that) was the key, to go for the shot."
Goffin is only the sixth player ever to beat Rafael Nadal and Federer in the same tournament and the first since Novak Djokovic at the 2015 ATP Finals.
The Belgian, who beat Nadal in his round-robin opener, described his victory against six-time champion Federer as the best of his career.
========================
"Both are really special," he said. "It was the first time against Rafa. Then the semi-final for the first time for me here, and to beat Roger for the first time here in such a big event, big tournament, it was the perfect moment. Yeah, it is the best win of my career, for sure."
A disappointed Federer missed out on the chance to apply a final flourish to a brilliant season in which he won the Australian Open and a record eighth Wimbledon.
"It's a bit disappointing for me because it's indoors, it's a court I like to play on," he said. "But I had my chances and missed them. When he had them, he was very committed. I think that was the difference today."
With Djokovic and Andy Murray missing from the eight-man field and Nadal forced to pull out injured after his loss to Goffin, Federer was strongly fancied to romp home.
But his departure means there will be a new name on the trophy on Sunday.
That could be Dimitrov, who roared into a 3-0 lead in the first set before Paris Masters champion Sock won six games out of seven to take the first set.
Undaunted, Dimitrov, 26, stepped up his game and bagelled the 25-year-old eighth seed in the second set in just 22 minutes to take the match into a decider.
He held his nerve to seal the contest on his fourth match point in a game lasting around 10 minutes.
"I was very composed with myself, I didn't let any negative thoughts come into my head," said Dimitrov. "Things went my way tonight and I'm more than happy.
"I'm so humbled to be in the final tomorrow. It's another match -- I just need to keep on playing. It's the last match of the season so full house, and we're on.
Disclaimer: No Business Standard Journalist was involved in creation of this content
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
