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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
jps_HHH
Helper II
Helper II

5000 threshold sharepoint connection - PBI

i would like to overcome a (500): Internal Server Error related to 5000 threshold from sharepoint.

I have a PBI connected to sharepoint list using "sharepoint online list" connector. After the list hit the 5000 items, I cannot refresh or create a new connection.

How can I resolve this issue?

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @jps_HHH 

 

To what the others are recommending, if there is a date column that is used for your data, you could then apply incremental refresh to this particular table, which potentially then would only refresh the new data and not go past the 5000 limit because you're doing it on a daily basis. So each day we'll have our own separate query.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

10 REPLIES 10
v-pgoloju
Community Support
Community Support

Hi @jps_HHH,

 

Just following up to see if the Response provided by community members were helpful in addressing the issue. If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.

 

Best regards,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @jps_HHH,

 

Just following up to see if the Response provided was helpful in resolving your issue. Please feel free to let us know if you need any further assistance.

 

Best regards,

Prasanna Kumar

v-pgoloju
Community Support
Community Support

Hi @jps_HHH,

 

Thank you for reaching out to the Microsoft Fabric Forum Community.

 

Just following up to see if the Response provided by community members were helpful in addressing the issue. If one of the responses helped resolve your query, please consider marking it as the Accepted Solution. Feel free to reach out if you need any further clarification or assistance.

 

Best regards,

Prasanna Kumar

GilbertQ
Super User
Super User

Hi @jps_HHH 

 

To what the others are recommending, if there is a date column that is used for your data, you could then apply incremental refresh to this particular table, which potentially then would only refresh the new data and not go past the 5000 limit because you're doing it on a daily basis. So each day we'll have our own separate query.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

blopez11
Super User
Super User

In addition to what @MasonMA mentions, you may consider using the OData connector.  I have had better luck with this connector for large lists.  Please see the following for others discussing this as well: https://www.reddit.com/r/PowerBI/comments/mra2qj/problem_with_sharepoint_list_connection/

I tried to Odata connector and it says that we couldn't authenticate with the creadiatels provieded (I use my creaditioans in "organiztional account" pane )

MasonMA
Community Champion
Community Champion

Hello @jps_HHH 

 

You may want to refer to this post

https://community.fabric.microsoft.com/t5/Power-Query/SharePoint-list-view-threshold-error-when-impo....

 

In summary from this post, the workaround would be either create an Indexed Column in SharePoint, then filter on that column in Power BI queries, which lets SharePoint use the index and avoid the threshold, 

Or, apply Filters at Source, which forces SharePoint to only return rows within the indexed range, like 

Filtered = Table.SelectRows(List, each [Created] >= #date(2024,1,1))

 

Hope this helps:) 

I did not understand the indexed column concept. 
However, I've already created a indexec column in the sharepoint. But aftwerads I tried to reconnect with PBI and the same errror occurs. 
I dont know what should I do after creating indexed columns.


BTW, I tried to use 1.0 sharepoint online list and it works

MasonMA
Community Champion
Community Champion

In my example M, 

Filtered = Table.SelectRows(List, each [Created] >= #date(2024,1,1))

[Created] is the indexed column. By filtering before any other transformation, SharePoint only returns the rows within that range.

But I cannnot connect the sahrepoint list to PBI. the error happens in the second step of the powerquerry, i dont have chance to filter the data that I want to retrive from sharepoint 

Helpful resources

Announcements
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.