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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Sharepoint folder > URL

Hello, 

 

I deposited excel files in a sharepoint folder whose url looks like this: https://mysite.sharepoint.com/sites/Folder1/Folder2/PowerBI

How can I get access to these files?

when I put all the URL in the query I have an error and if I only put https://mysite.sharepoint.com/sites/Folder1, I have too many files and I cannot find mine...

Thank you for your help !

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

The SharePoint.Files() function, which is what you used, has a 5,000 (or 10,000?) limit to the files it shows.

 

However, in that source statement - make sure the Power Query formula bar is showing, change it to SharePoint.Contents. This will show you folders, not files. So usually there you click on Shared Documents, then you can drill down to Folder2, then PowerBI. It is much MUCH faster when your site has a lot of files to browse through.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Community Champion
Community Champion

The SharePoint.Files() function, which is what you used, has a 5,000 (or 10,000?) limit to the files it shows.

 

However, in that source statement - make sure the Power Query formula bar is showing, change it to SharePoint.Contents. This will show you folders, not files. So usually there you click on Shared Documents, then you can drill down to Folder2, then PowerBI. It is much MUCH faster when your site has a lot of files to browse through.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.