Fix Excel Analysis Services "Incorrect Function" Error
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.

- 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.
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.
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.
In Excel, navigate to the Data tab, click on 'Get Data', choose 'From Database', and select 'From SQL Server Database' instead of Analysis Services.
If permitted by your IT policy, attempt the connection using the SQL Server SA (System Administrator) account to rule out user-specific permission errors.
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.

Investigate Server Permissions and Network Environment
Check for network-level blocks or server-side permission issues that might be rejecting connections from your specific Excel client.
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. Download the software: Visit the official WPS Office website to download and install the free suite.
- 2. Open your files: Launch WPS Spreadsheets and open your existing Microsoft Excel workbooks directly.
- 3. Analyze your data: Use built-in data connectors and pivot tables to continue your analysis with full format compatibility.

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.




