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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RoelVB
Helper I
Helper I

Sharepoint folder limit?

I'm trying to load a CSV file from Sharepoint. Nothing really special, I did this with other Sharepoint Online tenants before.

Unfortunatally this time the CSV files I want aren't showing.

 

What I did. Connected to the SPO tenant, when I filter `Extension` on ".csv" is only shows 2 files. There a more than 2 CSV files on there! Why doens't Power BI show them?

 

The 2 files that are showing are in https://tenant.sharepoint.com/somedocumentlibrary/A, the files I want are in https://tenant.sharepoint.com/somedocumentlibrary/B. I connected PowerBI to https://tenant.sharepoint.com

1 ACCEPTED SOLUTION
RoelVB
Helper I
Helper I

I've just created a new Document library, which works for now.

View solution in original post

5 REPLIES 5
edhans
Community Champion
Community Champion

I would like to know why this happens. I just had the same happen to me with CSV files. 2 showed up, but there are 7 in our library. The Sharepoint site (a group) has 4,200 or so files, so it isn't the 5,000 file limit.

 

The "fix" is to change the source line that Power Query generates. Get rid of the  [ApiVersion = 15] at the end.

 

That will allow it to pull everything in there, even if there are more than 5,000 files, but I wish I knew what that APIVersion was really doing. I thought it was just limiting it to 5,000 files, but it is obviously doing more. When it is in place, my file count that is returned is around 3,100 files, so not sure why the other 1,100 or so are being excluded.



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
RoelVB
Helper I
Helper I

I've just created a new Document library, which works for now.

Anonymous
Not applicable

@RoelVB,

Glad to hear that the issue is solved, you can mark your reply as answer, that way, other community members would easily find the solution when they get same issues.

Regards,
Lydia

I don't see it as a solution. It's a workaround.

Anonymous
Not applicable

@RoelVB,

I am unable to reproduce your issue from my side, could you please check if there are any issues in the old document library?

Regards,
Lydia

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors