Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jdunmall
Advocate I
Advocate I

Analyze in Excel: Initialization of the data source failed

Hi all,

 

Trying to get Analyze in Excel working. I tried it with a PBIX uploaded from desktop. I've installed the OLEDB package. I get the following error: Initialization of the data source failed. Check the database server or contact your database administrator. Make sure the external database is still available, and then try the operation again. If you see this message again, create a new data source to connect to the database.

 

Here is the data source:

Provider=MSOLAP.7;
Integrated Security=ClaimsToken;
Identity Provider=AAD;
Data Source=https://analysis.windows.net/powerbi/api;;
Initial Catalog=sobe_wowvirtualserver-xxxx;
Location=https://wabi-us-east2-redirect.analysis.windows.net/xmla?vs=sobe_wowvirtualserver&db=xxxx;
MDX Compatibility= 1;
MDX Missing Member Mode= Error;
Safety Options= 2;
Update Isolation Level= 2

 

I'm Azure AD joined.

 

[Edit] I am using Excel 2016. When I try to open the connection in Power Pivot, and  test the connection, I get: the test connection failed because the provider could not be initialized. If you contact Microsoft support about this error, provide the following message: Failed to connect to the server. Reason: Invalid value for key 'integrated security'.

 

Feels like the new OLEDB install didn't work, though it reported as installed succesfully. I see it listed in Programs and Features "Microsoft AS OLE DB Provider for SQL Server 2016 RC1".

 

I'm running 64-bit office.

 

Any ideas?

1 ACCEPTED SOLUTION
kcantor
Community Champion
Community Champion

I had this exact error. I uninstalled the add on and then re installed making sure to choose 64bit. After that, it allowed me to log in and export for analysis. While I had installed the correct version, a coworker installed the incorrect version. A clean install solved the issue for both of us.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

26 REPLIES 26

Same boat for me.

Any update about this issue?

I'm in the same situation.

I am having the same issue, any update please?

kcantor
Community Champion
Community Champion

I had this exact error. I uninstalled the add on and then re installed making sure to choose 64bit. After that, it allowed me to log in and export for analysis. While I had installed the correct version, a coworker installed the incorrect version. A clean install solved the issue for both of us.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Nice kcantor! Uninstalling and reinstalling worked. I'm almost positive I installed the right one the first time... but still - thank you. Sending you a virtual beer!

 

-Jeff

I'm still getting this issue, where do you select the x64 version? I dont seem to have the option?

When I click analyse in excel I get the following

Excel.GIF

 

I have installed (and reinstalled this) but at no point does it give me the option to chose x86 or x64. Am I missing something?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.