With 2027 approaching, I've been thinking about which ASX shares I'd most like to own over the next few years.
I've settled on three different businesses whose prospects and valuations give me reasons to be optimistic. I would buy all of them today, although one stands above the others for me.
Here's how I arrived at my decision.

Image source: Getty Images
Qantas Airways Ltd (ASX: QAN)
My first pick is one I suspect some investors will find surprising. Airlines can be difficult investments. Fuel costs jump, demand weakens when the economy struggles, and aircraft are expensive.
But I think Qantas has more going for it than those challenges alone suggest. Its domestic position is strong, with Qantas serving full-service travellers and Jetstar targeting budget-conscious passengers. The loyalty business also generates earnings beyond selling seats.
As Qantas modernises its fleet, newer aircraft should lower operating costs and improve the passenger experience. Project Sunrise could also open new premium long-haul routes.
And importantly, I don't think Qantas shares are priced as though investors expect much of that to go right.
At current levels, Qantas trades on a P/E ratio of roughly eight times forecast FY27 earnings, falling to less than six times FY29 estimates. Analysts also expect a dividend yield of approximately 4.6% in FY27, potentially rising to 5.7% by FY29.
I wouldn't expect an airline to command the earnings multiples of a software company. But with the potential for stronger earnings as its fleet investment starts paying off, I think Qantas is being undervalued and is a buy.
That's one place on my watchlist filled. My other choices come from different industries, with different ways to grow.
One already dominates a market that millions of Australians use. The other is expanding internationally with technology I believe could become far more important.
And it's the second of those that ultimately wins my vote.
REA Group Ltd (ASX: REA)
Anyone who has searched for a home probably knows realestate.com.au. And I think that familiarity is one of REA's greatest strengths.
The platform attracts an enormous audience, reaching 11.8 million Australians in August alone.
That's valuable for real estate agents who want their properties seen by as many potential buyers as possible. And because REA has established such a strong position in the Australian property market, it can charge agents for premium listings and other services that help their properties stand out.
I think there's considerable potential to keep growing earnings from this business, especially as REA introduces new products and gives agents more reasons to spend on its platform.
I'm also interested in its expansion into mortgage services, which could allow the company to generate additional revenue as people move from searching for a property to buying one.
Of course, activity in the housing market will influence its performance. But I believe REA's position gives it an excellent opportunity to grow over the longer term.
The biggest consideration for me is how much to pay for that opportunity. At current levels, REA shares trade on approximately 27 times forecast FY27 earnings, falling to around 22 times FY29 estimates.
That's a premium valuation, but I think it's justified by the company's competitive position and potential for continued earnings growth.
There's also a modest dividend to enjoy along the way, with a potential FY27 yield of around 2.3%.
For me, REA is the kind of ASX share I'd be happy owning for many years. I think its dominance of Australia's online property market could continue rewarding shareholders well beyond 2027.
Pro Medicus Ltd (ASX: PME)
My winner is Pro Medicus, even though it's easily the most expensive of the three shares.
The company develops medical imaging software that helps radiologists examine scans and diagnose patients. And I think there's an enormous opportunity for its technology over the coming years.
One of the biggest challenges facing hospitals is the growing demand for medical imaging.
As populations age and doctors increasingly rely on scans to diagnose and monitor diseases, radiology departments are facing heavier workloads.
Unfortunately, the number of radiologists available to interpret those scans hasn't kept pace with demand, creating staffing shortages across many healthcare systems.
That's where Pro Medicus comes in. Its Visage software allows radiologists to access and examine medical images quickly and efficiently, helping them manage larger workloads.
And there's already strong evidence that hospitals want its technology. Pro Medicus signed 10 new contracts worth at least $407 million in FY26 and announced two additional US contracts this month, worth a combined $67 million.
I think those wins are impressive, especially considering the company estimates that it currently holds only around 11% of the US market.
That leaves considerable room to win business from hospitals still using older imaging systems. And as more customers adopt its technology, I think Pro Medicus could become substantially more profitable.
I'm also excited about its expansion into cardiology, which could bring its technology into additional hospital departments. Digital pathology offers another potential growth opportunity.
Despite all this potential, Pro Medicus shares have come under considerable pressure recently.
Concerns about how artificial intelligence (AI) could disrupt software businesses, alongside higher interest rates putting pressure on growth stock valuations, may help explain some of the weakness.
As a result, Pro Medicus shares are now trading around 30% below their 52-week high.
Of course, that doesn't automatically make them cheap. At current levels, the shares trade on approximately 108 times forecast FY27 earnings and 69 times FY29 estimates.
Those are substantial multiples, and there's considerable pressure on management to keep delivering strong growth.
But I'm optimistic about the company's future. I think AI could actually create further opportunities for Pro Medicus as hospitals look to integrate new diagnostic technologies into their existing imaging systems.
And with so much of the US market still available to pursue, I can see plenty of reasons why its earnings could continue growing strongly over the next decade and beyond.
For me, the recent share price weakness has created an opportunity to buy an exceptional business at a more reasonable valuation than investors were paying earlier this year.
That's why Pro Medicus would be my winner.
Foolish takeaway
I think all three ASX shares could reward investors over the coming years, and I'd be happy buying any of them ahead of 2027.
But if I'm choosing just one, Pro Medicus gets my vote. What excites me is how much room the company still has to grow. It's already winning major hospital contracts and generating exceptional profit margins, yet it has only captured a small portion of its potential market.
The valuation means there could be plenty of volatility along the way. But when I think about where Pro Medicus could be in another 10 years, I see a business that could be substantially larger than it is today.
And that's the opportunity I'd most like to own.