JPMorgan Chase & Co. (JPM) posted a 3% jump in sales for the second quarter of 2016 compared with the same period in 2015, though its total profits were down 1% from last year. Still, these results beat equity analysts’ expectations.

The largest U.S. bank by assets said it had revenue of $25.3 billion and net income of $6.2 billion, or $1.55 a share, vs. a profit of $6.29 billion, or $1.54 a share, in the same period of 2015. Analysts polled by Thomson Reuters had expected sales of $24.16 billion and earnings of $1.43 a share.

The firm, which has some 2,620 financial advisors, says its expenses fell to $13.64 billion from $14.5 billion a year before. Net interest income jumped 5% to nearly $11.4 billion.

“JPMorgan Chase continued to perform well in all of our major businesses,” said Chairman & CEO Jamie Dimon, in a statement. “Outside of energy, both wholesale and consumer credit quality remained very good.”

Investment banking revenue, however, weakened 15% to $1.5 billion in Q2’16, as equity underwriting fees declined. Meanwhile, Treasury services revenue fell slightly to $892 million, and securities services sales were $907 million, down 9% from a year ago.

Still, low interest rates helped the firm’s consumer and community banking unit, which saw its sales grow 4% from a year ago to $11.5 billion and more applications for mortgages completed by potential homebuyers. Mortgage banking revenue grew 5% year over year to $1.9 billion.

The bank’s provision for credit losses expanded to $1.4 billion vs. $ 935 million a year ago, as it set aside higher reserves mainly on weakness in the energy sector.

The corporate and investment banking unit increased sales 5% to $9.2 billion, driven by fixed income and equity trading-related sales. Fixed income revenue jumped 35%, while equity sales grew 2%.

Commercial banking revenue improved 4% to $1.8 billion, according to the bank, reflecting higher loan balances and deposit spreads stemming from low interest rates paid on consumer deposits.

The global wealth management operations reported total revenue of $1.5 billion, roughly flat with last year’s results. The pretax margin for the group, though, grew to 28% from 25% a year ago.

Total assets in the private banking group (including assets under administration, or AUA, and assets under management, or AUM) at JPMorgan stand at $1.06 trillion, up from $1.04 trillion in the prior-year period, with $811 billion of the total coming from AUM.

JPMorgan’s shares are down about 2.5% this year (though they are up close to 2% Thursday) compared with an 8% decrease in the KBW Nasdaq Bank Index year to date. Bank of America (BAC), which reports earnings on Monday, is down 19% in 2016, while shares of Wells Fargo (WFC), which reports Q2 results on Friday, have weakened 10% since Jan. 1.