Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

SharePoint Folder Not connecting all Files into Power Query

Hello, 

 

I am trying to combine (3) files in a folder on our Sharepoint site into a Query. When I combine and transform the data, the only file that comes through is the first data file. Each file corresponds to a monthly report pulled from our GPS system database. I have identified that all (3) montly files are identical (rows, columns, headers, etc.). 

 

I have created reports before when combining folders from SharePoint and have never had this issue before. When filtering the data it does not even give me the option of the other (2) files. They are just non-existant. 

 

Please help!

 

2 Replies

  • edhans's avatar
    edhans
    Community Champion

    If there are more than 5,000 files in SharePoint that will happen.

    If they are all in one folder, change the source line in the query from SharePoint.Files() to SharePoint.Contents(). Then you drill down to the folder they are in and you'll be able to see them, unless that folder itself has >5,000 files....

     

    Once you drill down, and filter that folder, then do the Combine operation.