MEXICO CITY (Reuters) – Mexico’s America Movil, the largest telecommunications firm in Latin America by number of subscribers, saw its net profit slide 94 percent in the second quarter, hammered by currency-related swings.

FILE PHOTO: The logo of America Movill is seen on a wall at the company’s corporate offices in Mexico City, Mexico March 14, 2018. REUTERS/Carlos Jasso/File Photo

The company, which is controlled by the family of Mexican billionaire Carlos Slim, posted a net profit of 818 million Mexican pesos ($41.2 million), down sharply from 14.3 billion pesos during the same quarter a year ago.

Yet the company’s revenue rose to 257 billion pesos in the quarter from 249.4 billion pesos last year.

America Movil said its performance was hurt by the U.S. dollar’s gains against the currencies of Mexico and Brazil, two of its key markets.

Analysts had expected the company to log a net quarterly profit of 3.5 billion pesos, according to a Reuters poll, down from the same period last year, but a narrower loss than what was ultimately reported.

Nevertheless, the company touted its rising data revenues for both pre- and post-pay customers, widely seen as the future of the business. The firm also added 1.1 million lucrative post-pay customers during the quarter.

America Movil’s performance in its home country has suffered in recent years as Mexican President Enrique Pena Nieto pushed through reforms intended to weaken the company’s dominance of the sector.

But the company’s fortunes have improved as the administration’s tenure winds down. Pena Nieto will conclude a six-year term in November….