(Bloomberg) -- Salesforce.com Inc. raised its revenue forecast for the fiscal year, showing confidence that its expanded lineup of cloud-based software will continue to attract new business.

While analysts said there may be some concerns about future revenue, the company projected annual sales of as much as $10.40 billion, with adjusted profit of $1.29 a share to $1.31 a share. Analysts on average estimated $10.29 billion in sales and earnings of $1.30 a share.

The San Francisco-based company is pouring money into marketing tools, artificial intelligence and e-commerce services in the hopes of bolstering growth. Chief Executive Officer Marc Benioff -- a longtime advocate of cloud-based software for businesses -- is trying to find new ways to lure customers away from rivals such as Oracle Corp. and Microsoft Corp.

“It was an excellent quarter, with good guidance,” Steve Koenig, an analyst with Wedbush Securities Inc., said in an email. “In the big picture, we’re encouraged.”

Koenig noted some potential issues with billings growth, which based on the company’s forecast looks to be just into double-digits in the current quarter. Still, he said, billings can be affected by the timing of renewal invoices and can bounce around quarter to quarter.

Revenue climbed 26 percent to $2.56 billion in the fiscal second quarter, the company said Tuesday in a statement. Profit, excluding certain costs, was 33 cents a share. Analysts projected adjusted profit of 32 cents on revenue of $2.52 billion.

“We had a beat and a raise,” Mark Hawkins, the company’s chief financial officer, said in an interview. “We’re able to invest in the future. We’re able to invest in the long-term success of the company.”

Saleforce’s shares declined about 1 percent in extended trading after closing at a record $92.95 in New York. The stock has gained 36 percent this year.

Revenue in one of the company’s key new areas, the marketing cloud business, gained 57 percent to $317.1 million in the quarter ended July 31, about the same growth rate as the previous period. Sales rose 17 percent to $886.4 million for its central business in tools for managing customer relationships.

The company is the clear leader in the market, according to IDC. In 2016, Salesforce was No. 1 worldwide with 18 percent share, the research firm said. Oracle was No. 2 with 9.4 percent, and SAP SE had 7.2 percent.

In the current period, Salesforce said revenue will be as much as $2.65 billion. Analysts on average estimated $2.61 billion. Profit before certain items will be 36 cents to 37 cents a share, topping projections of 35 cents.

Salesforce’s unbilled deferred revenue, a closely watched measure that shows the amount of business under contract, but not yet recognized, climbed 30 percent from a year earlier to $10.4 billion. It increased 26 percent in the previous quarter.

While the company has continued spending, the pace of acquisitions has slowed compared with last year when Salesforce closed or announced deals valued at more than $4 billion. They included companies such as Metamind, which assisted in the company’s push into artificial intelligence services, and Demandware, which added capabilities for e-commerce.