Excel Error Codes

Fix Excel Analysis Services "Incorrect Function" Error

Kushani NimanthikaKushani Nimanthika Nov 4, 2026 868 views

Question details

Users encounter an "Incorrect function" error when attempting to connect to Analysis Services via the Get Data feature in Excel version 2101, despite the same credentials working on earlier versions or outside networks.

Fix Excel Analysis Services "Incorrect Function" Error
Product
Microsoft Excel
Device & OS
not provided
Scenario
Connecting to a database using the Analysis Services option via the Get Data feature in Excel.
Observed behavior
Excel returns an "Incorrect function" error and fails to connect, specifically on version 2101, whereas older versions and external networks connect successfully.
Before you start

Verify that your login credentials are correct and confirm if other users on your local network are experiencing the same issue with Excel version 2101.

Solution 1Recommended

Test Alternative Database Connection Methods

Isolating the connection method helps determine whether the issue is caused by the specific Analysis Services connector in Excel 2101 or by server configurations.

Since the error appears specifically when using the Analysis Services connection in a particular Excel version, testing an alternative connection route can bypass the bug and help diagnose the root cause.

1
Use standard SQL Server connection

In Excel, navigate to the Data tab, click on 'Get Data', choose 'From Database', and select 'From SQL Server Database' instead of Analysis Services.

2
Enter SA account credentials

If permitted by your IT policy, attempt the connection using the SQL Server SA (System Administrator) account to rule out user-specific permission errors.

3
Compare the results

If the alternative SQL connection works smoothly, the issue lies within the Analysis Services connector in Excel 2101, and you can use this SQL connection as a temporary workaround.

Test Alternative Database Connection Methods
Environment Variables: Because users outside your network can connect successfully, the issue may also be tied to how Excel 2101 interacts with your specific local network environment.
Free Microsoft Office alternative

Try WPS Office for Seamless Data Management

If version-specific errors in Microsoft Excel are disrupting your workflow, consider switching to WPS Office. It provides a lightweight, free, and highly compatible alternative for viewing, editing, and managing your spreadsheets without the heavy footprint or update-related bugs.

  1. 1. Download the software: Visit the official WPS Office website to download and install the free suite.
  2. 2. Open your files: Launch WPS Spreadsheets and open your existing Microsoft Excel workbooks directly.
  3. 3. Analyze your data: Use built-in data connectors and pivot tables to continue your analysis with full format compatibility.
Free and lightweight spreadsheet software that doesn't consume excessive system resources.Highly compatible with Microsoft Excel formats including .xlsx, .xls, and .csv.Familiar user interface ensuring a seamless migration with no learning curve.Built-in advanced data analysis tools to manage your databases efficiently.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the 'Incorrect function' error only happen in Excel version 2101?

Software updates often introduce underlying changes to data connectors and security protocols. Version 2101 may have altered how the Analysis Services connector communicates with the server, causing conflicts with certain local network configurations.

Can I fix this by rolling back to an older version of Excel?

Yes, if earlier versions connect successfully, rolling back your Microsoft 365 installation to a previous build using the Office Deployment Tool can serve as a reliable workaround until a patch is released.

Does this error mean my database credentials are wrong?

Not necessarily. If the same credentials work for users outside your network or on older versions of Excel, the error is likely related to the specific Excel build's connector or a network routing issue rather than incorrect passwords.