Walgreens (WBA) posted positive numbers in its latest earnings report, surpassing analysts' expectations.

The drug store company, which conducts business as Walgreens in the U.S., and Boots in Europe and Asia, said its operating revenue was $132.7 billion, representing a 0.1% increase.

The Chicago-based chain said it foresees adjusted earnings per share of $4.45 to $4.65 for the year, on par with Wall Street expectations. In recent years, Walgreens has been making concerted efforts to break into the pharma and healthcare markets.

"WBA has delivered ahead of expectations in the first year of our transformation to a consumer-centric healthcare company. Our resilient business achieved growth while navigating macroeconomic headwinds," CEO Rosalind Brewer said in a statement.

The company's fourth-quarter report came on the same day as key economic data, with the CPI growing 0.4% as inflation looks unlikely to ease up.

"With inflation at four-decade highs, consumers are expressing uncertainty about the future and seeking value," Brewer said Thursday.

"At the same time, we know that health and wellness will always be a priority and increasingly so after Covid-19."

Shares of Walgreens closed Thursday at $33.65, up $1.71, or 5.35%.