Forum Discussion
Loading data from password encrypted Excel file
- 7 days ago
Hi Devsβ
You're not missing anything, it's still not possible with the native Excel Connector, there's no way to supply a password.
Python can work as a workaround though: in Power BI Desktop, you can decrypt the file with a library like msoffcrypto-tool, then load it into pandas for Power Query to use. Note it only works in Desktop with Python installed, and won't refresh in the Service unless you're on Premium/Fabric with a Python-enabled gateway.
Is it thoughtful? π A kudos would be appreciated
π¨ Mark it as a solution to help spread knowledge π‘π© Let's connect on LinkedIn
π§ Feel free to join this LinkedIn Group for Data Enthusiasts.
Hi Devsβ
You're not missing anything, it's still not possible with the native Excel Connector, there's no way to supply a password.
Python can work as a workaround though: in Power BI Desktop, you can decrypt the file with a library like msoffcrypto-tool, then load it into pandas for Power Query to use. Note it only works in Desktop with Python installed, and won't refresh in the Service unless you're on Premium/Fabric with a Python-enabled gateway.
Is it thoughtful? π A kudos would be appreciated
π¨ Mark it as a solution to help spread knowledge π‘
π© Let's connect on LinkedIn
π§ Feel free to join this LinkedIn Group for Data Enthusiasts.