However, "HP Inc. is in an upward trend as it has experienced five consecutive quarters of global PC growth, while Lenovo is on a downward trend with declining shipments in eight of the last 10 quarters," Gartner said.
Worldwide PC shipments reached 67 million units in the third quarter of 2017 -- a 3.6 per cent decline from the third quarter of 2016.
This is the 12th consecutive quarter of declining PC shipments.
"While there were signs of stabilisation in the PC industry in key regions, including EMEA (Europe, the Middle East and Africa), Japan and Latin America, the relatively stable results were offset by the US market, which saw a 10 per cent (year-over-year) decline," said Mika Kitagawa, Principal Analyst at Gartner.
In Asia-Pacific, PC shipments reached 24 million units in the third quarter of 2017 -- down 2.1 per cent from the same period last year.
HP Inc experienced growth in all key regions, except the US market.
The company experienced double-digit growth in Latin America while in Asia/Pacific, HP Inc secured positive growth for the fifth consecutive quarter.
Dell's worldwide PC shipments were slightly down compared with a year ago, as it registered its first year-over-year shipment decline since the first quarter of 2016.
While consumer demand remained lacklustre, PC demand in the business segment remained steady, especially for notebooks.
"In China, the PC market is estimated to have declined by 5 per cent in the third quarter of 2017, with more stability in the business market, particularly in large enterprises, than in the consumer space," Gartner said.