March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
Hello,
Software: Excel - Office Professional Plus 2016
Issued: Password protected files
Solution requested: Query password protected files into Excel
Files: I used to password on the files. The files successfully open and the data appears good.
Hello,
I want to import (query) password protected excel workbooks. Is there a way to do that? I tried to query the files in a normal standard way and I receive the following message:
Unable to connect
We encountered an error while trying to connect.
Details: "File contains corrupted data."
Retry Edit Cancel
I choose edit and get a file path editor window. I do not have a place to enter a password, but I do have places to add several file paths. I put the password into one of the file paths. That does not work.
From the Excel Data tab I'll choose create a blank query. This forces the query editor window to open. I don't see anything in the query editor tabs to help me. I've hacked and hacked at it but can't find anything nor do my trial and error attempts work either.
Does anyone have a solution?
Thanks in advance for your help.
There is another (bad) workaround, which worked for me at least - you can it seems import the data into another Excel sheet via Power Query as long as the source data file is open; from there you can import into Power BI. The (admitedly massive) downside is that the intermediate Excel file won't refresh with the source file closed!
(I have voted on the Idea!)
Hi @DAXRichArd
It seems impossible to connect to protected excel files with Power BI directly.
There is an idea you could vote up
You can find some workarounds below:
https://www.linkedin.com/pulse/adding-password-box-power-bi-report-wyn-hopkins
Best Regards
Maggie
The work around I have is to remove the password from the file. My hope is to have a solution where the password can remain and I can successfully import password protected files.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
13 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |