Fix Excel Cannot Connect to Analysis Services Cube
Question details
The user is unable to retrieve data from a specific SQL Server Analysis Services (SSAS) cube using Excel's Get Data feature, although the connection works in Power Query and Power BI.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Importing data from an external SQL Server Analysis Services cube for spreadsheet analysis.
- Observed behavior
- The native Get Data connection fails for one specific SSAS cube, while alternative import methods successfully retrieve the data.
Ensure you have your SQL Server credentials handy, verify that your network connection to the Analysis Services server is active, and confirm that your account has the necessary database permissions.
Adjust Trust Center Settings and Update Drivers
Ensure Excel is allowed to make external data connections and that the correct OLE DB providers for Analysis Services are installed.
Excel relies on specific drivers to communicate with Analysis Services. If these drivers are outdated or blocked by security policies, the connection will fail.
Click on File > Options to open the Excel Options dialog. Select Trust Center from the left pane and click on Trust Center Settings.
Navigate to the External Content tab. Under 'Security settings for Data Connections', select 'Enable all Data Connections' (use this setting cautiously and only on trusted networks).
Download and install the latest Microsoft OLE DB Provider for Analysis Services (MSOLAP) from the official Microsoft website to ensure compatibility with your cube.
Close Microsoft Excel entirely and reopen it. Try connecting to the cube again by navigating to Data > Get Data.

Use Power Query as a Workaround
Since the direct Get Data connection is failing, you can leverage Power Query's robust engine to pull the SSAS data into Excel.
Disable Conflicting Add-ins and Repair Office
Third-party add-ins or corrupted Microsoft Office files might block specific data connection paths.
Try WPS Office for Your Daily Spreadsheet Needs
If you are experiencing persistent connection bugs with Microsoft Excel's advanced data features or need a lightweight, cost-effective alternative for daily data processing, WPS Office provides a highly compatible and familiar spreadsheet environment.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Application: Run the setup wizard to install WPS Spreadsheet alongside the rest of the productivity suite.
- 3. Open Your Workbooks: Open your existing Excel files directly in WPS Spreadsheet with formatting and basic formulas perfectly preserved.

Frequently Asked Questions
Why does Power BI connect to the SSAS cube but Excel fails?
Power BI and Power Query often use different, more robust connection providers or updated internal data engines compared to Excel's legacy Get Data methods. They can sometimes bypass local driver conflicts that affect standard Excel connections.
What is the MSOLAP driver?
MSOLAP stands for Microsoft OLE DB Provider for Analysis Services. It is the essential driver that Excel requires to properly communicate, authenticate, and retrieve data from SQL Server Analysis Services cubes.
Can I connect to Analysis Services cubes on a Mac?
Native connections to SQL Server Analysis Services cubes are primarily supported on the Windows versions of Excel. Mac users typically need to rely on remote desktop solutions, virtual machines, or web-based dashboards like Power BI Service.
Is 'Enable all Data Connections' safe to use?
Enabling all data connections can expose your computer to malicious data sources. It is recommended to only use this setting if you trust the network and the specific databases you are connecting to, such as internal corporate servers.




