Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
JonasCosta
New Member

Excel - Connect to a folder using online link

When I connect Power Query to a .XLSX file, I can open it and copy the path ("https://xxxxxx.sharepoint.com/sites/")
Then in the PQ: "Excel.Workbook(Web.Contents("https://xxxx.Sharepoint....)"
How can I do the same, but to a folder ?

I can Only connect to a local folder >> Folder.Files("C:\Users..... To reald all files inside. 

The problem with local path is that the query works only in my PC. IF I try in another one, i have to change the path.
I think online Path can solve this. 

I Can't find Shapoint Option to connect to:

JonasCosta_0-1758203507262.png

 

7 REPLIES 7
v-nmadadi-msft
Community Support
Community Support

Hi @JonasCosta 

As we haven’t heard back from you, we wanted to kindly follow up to check if the suggestions  provided by the community members for the issue worked. Please feel free to contact us if you have any further questions.

 

Thanks and regards

v-nmadadi-msft
Community Support
Community Support

Hi @JonasCosta 

May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.


Thank you

v-nmadadi-msft
Community Support
Community Support

Hi @JonasCosta 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.


Thank you.

BA_Pete
Super User
Super User

Hi @JonasCosta ,

 

In the Get Data dialog, use the SharePoint Folder connector.

BA_Pete_0-1758208725078.png


In Excel, you can get there like this:

BA_Pete_0-1758208938100.png

 

Pete

 



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Hello @BA_Pete !

Thank you for your answer!

I can't find the "From sharepoint folder" option.
Maybe that's something related with my Office Version. I'm using Microsoft 365.
I looked for some option to enable but cant't find.

Do you know something abou that ?

JonasCosta_0-1758216969279.png

 

 

Hmm, that's odd. I would have thought your Excel would auto-update if you're on M365.

 

Here's the version I'm using for reference:

BA_Pete_0-1758260608695.png

 

And here's the basic connection string that PQ generates to connect to a folder, so you can try just copy/pasting into Advanced Editor:

let
    Source = SharePoint.Files("https://ORGNAME.sharepoint.com/sites/SHAREPOINTSITENAME/", [ApiVersion = 15])
in
    Source

 

Pete



Now accepting Kudos! If my post helped you, why not give it a thumbs-up?

Proud to be a Datanaut!




Thaks! I'll try and let you know. 
The Excel version is exactly the same!

JonasCosta_0-1758311399113.png

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.