Forum Discussion
accessing a file embedded on a web page
- 6 years ago
Thank you for all your help!
And here's confirmation that I'm running Office 365, 64 bit.
Hrm.. I'm at a loss to what is happening here. I may be trying to load it in a different way since it is on the web.
Could you try:
= Excel.Workbook(Binary.Buffer(Web.Contents("https://www.eia.gov/dnav/pet/xls/PET_PRI_SPT_S1_D.xls")), null, true)
- wrwillits6 years ago
Helper III
Had the same issues in PowerBI.
The crazy thing, though, is that I am able to access the data using Excel.
- wrwillits6 years ago
Helper III
And I only had to use the Web Connector in Excel.
- artemus6 years ago
Microsoft Employee
So, just to be clear:
= Excel.Workbook(Binary.Buffer(File.Contents("c:\MyDownloadFolder\PET_PRI_SPT_S1_D.xls")), null, true)
gave the same error in Power Bi, as this would indicate that the fact the document is loaded from the file system is what causes it to correctly load.
- wrwillits6 years ago
Helper III
No, it gave me the following error:
- artemus6 years ago
Microsoft Employee
Sorry, I mean, replace the path with the path to your downloaded file
- wrwillits6 years ago
Helper III
Sorry, my fault.
Here's what I get now:
- artemus6 years ago
Microsoft Employee
Alright, looks like you will need to install this package:
https://www.microsoft.com/en-gb/download/details.aspx?id=13255
Get the x64 version.
- wrwillits6 years ago
Helper III
I get the same message when I try to install the 64 bit version, even though my installed Office 365 is 64 bit:
- artemus6 years ago
Microsoft Employee
Ok... how about trying to install this one instead:
https://www.microsoft.com/en-us/download/details.aspx?id=54920
- wrwillits6 years ago
Helper III
I think we have finally figured out the issue! Was able to load the data into Power Query.
I still do not understand wehy I needed to load a new version of Access engine to make it work though.
- wrwillits6 years ago
Helper III
Thank you for all your help!