Excel 2016 and Power Query issue

gmeunier

New Member
Joined
Nov 24, 2020
Messages
4
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi everyone,

I developed a file on O365 using Power Query for my wife to automatize some tasks.
On her laptop the file with power query would not work (using Excel 2016).
I first thought it was linked to a version issue but then I did the following on her professional laptop :

  1. Close and reopen Excel
  2. Create a new file
  3. Create a table with headers and one line, load it up in power query.
  4. Close power query and save.
  5. A worksheet with the results of the query is being created.
As far, everything is fine. Then comes the issue :
When I update the table of the result query or if I do Data > Update all data, the following message shows up :
Initialization of the data source failed. Check the database server or contact your database administrator. Make sure the external database is available, and then try the operation again. If you see this message again, create a new data source to connect to the database
Of course, if I change the set of the data, the PQ result does not update.

So that is not linked to my file but to her Excel configuration I guess.
I saw some posts on that topic, unfortunately with no answer that would solve that issue.

Any idea ?

Many thanks,

Gerald
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
the same file works on XL365 but doesn't work on XL2016 on different computers?
could you share this file (wife) via onedrive, googledrive or any similar service and paste link to the shared file here? (if there is no any confidential data)
 
Last edited:
Upvote 0
the same file works on XL365 but doesn't work on XL2016 on different computers?
could you share this file (wife) via onedrive, googledrive or any similar service and paste link to the shared file here? (if there is no any confidential data)
Hi sandy666,

That is not due to the file.
As said, starting from scratch with a newly created file on HER laptop, I get the same issue :

  1. Open Excel
  2. Create a new file
  3. Create a table with headers and one line, load it up in power query.
  4. Close power query and save.
  5. A worksheet with the results of the query is being created.
As far, everything is fine. Then comes the issue :
When I update the table of the result query or if I do Data > Update all data, the following message shows up :

Initialization of the data source failed. Check the database server or contact your database administrator. Make sure the external database is available, and then try the operation again. If you see this message again, create a new data source to connect to the database
 
Upvote 0
anyway could you post a link to this file? shared file
or at least an M-code from Advanced Editor. Don't forget to use code tags
 
Last edited:
Upvote 0
downloaded, saw error, refreshed and it works (XL2016)
maybe try update XL2016 to the latest?
 
Upvote 0
downloaded, saw error, refreshed and it works (XL2016)
maybe try update XL2016 to the latest?

I effectively think it is linked to the version of excel installed. I did a repair on it but had the same issue.
I know that some other laptop of her company my original file worked out with xl2016.
I asked her to look for the version used on that one.
I will keep you posted.
 
Upvote 0

Forum statistics

Threads
1,223,756
Messages
6,174,320
Members
452,555
Latest member
colc007

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top