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
ARP331AHS269
Frequent Visitor

How to change data source from local folder to sharepoint Folder

I want to import all the files within the subfolders by just selecting the parent folder name 

 

How can I do it on Power BI similar to import data from folder option in Excel ?

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @ARP331AHS269 

 

Please replace your Source Step in Power Query with the following.

 

SharePoint.Files("Sharepoint Link", [ApiVersion = 15])

 

SharePoint Link looks something like this = https://YourDomain/sites/YourSharePointName (not folder name)

 

Please use authentication via Microsoft Account.

 

When the connection is successfull you will see all items from the sharpoint and then you have to filter to the right folder.

 

More information: Power Query SharePoint folder connector - Power Query | Microsoft Learn

 

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

1 REPLY 1
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @ARP331AHS269 

 

Please replace your Source Step in Power Query with the following.

 

SharePoint.Files("Sharepoint Link", [ApiVersion = 15])

 

SharePoint Link looks something like this = https://YourDomain/sites/YourSharePointName (not folder name)

 

Please use authentication via Microsoft Account.

 

When the connection is successfull you will see all items from the sharpoint and then you have to filter to the right folder.

 

More information: Power Query SharePoint folder connector - Power Query | Microsoft Learn

 

Best regards
Michael
-----------------------------------------------------
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Appreciate your thumbs up!
@ me in replies or I'll lose your thread.

 

 

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

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.

Top Kudoed Authors