Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
We have an enterprise data gateway succesfully setup, but I'm unable to figure out the connection string necessary to connect to an Excel file which is on premise and inside a subsite.
http://[site]/[subsite]/Shared%20Documents/[file.xlsx]
I haven't been able to find documentation that describes that string necessary (or even if this is possible). I have been able to connect to a SharePoint folder at the root site, but I need a specific file within a subsite library.
Thanks for any help you can offer.
Solved! Go to Solution.
Hi @wmorris20,
Based on my test, you can use one of the following methods to connect to Excel on SharePoint subsite in Power BI Desktop.
1. Copy URL of Excel file as shown in the following screenshot, then paste it to “Get Data>Web” entry in Power BI Desktop, please note that you would need to exclude “?Web=1” from URL of Excel file.
Then choose Windows method in the following screenshot, enter your account and password, you will be able to load data from your excel file.
2. Paste URL of your SharePoint subsite in the following screenshot, choose Windows method in the next screenshot, enter your account and password.
After loading data in Power BI Desktop, in the query editor window, there will be Content column, along with an icon that appears to be two down arrows. Click on the icon and you'll be able to select table or sheet from your excel file.
Thanks,
Lydia Zhang
Hi @wmorris20,
Based on my test, you can use one of the following methods to connect to Excel on SharePoint subsite in Power BI Desktop.
1. Copy URL of Excel file as shown in the following screenshot, then paste it to “Get Data>Web” entry in Power BI Desktop, please note that you would need to exclude “?Web=1” from URL of Excel file.
Then choose Windows method in the following screenshot, enter your account and password, you will be able to load data from your excel file.
2. Paste URL of your SharePoint subsite in the following screenshot, choose Windows method in the next screenshot, enter your account and password.
After loading data in Power BI Desktop, in the query editor window, there will be Content column, along with an icon that appears to be two down arrows. Click on the icon and you'll be able to select table or sheet from your excel file.
Thanks,
Lydia Zhang
Thank you for the very detailed response and solution.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |