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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kompas_ua
Advocate I
Advocate I

Get data from SharePoint Online Lists: Lookup columns threshold

Hello Everyone,

 

When I try to get data from SharePoint Online list I receive the error:

 

DataSource.Error: SharePoint: Request failed: The remote server returned an error: (500) Internal Server Error. (The query cannot be completed because the number of lookup columns it contains exceeds the lookup column threshold enforced by the administrator.)
Details: DataSourceKind=SharePoint

Yes, I know about this threshold in SharePoint, but in SharePoint Online I cannot increase the threshold. Is there any workaround?

 

Best wishes,

Sergey

4 REPLIES 4
ppm1
Solution Sage
Solution Sage

Please see if the approach/function in this article avoids the error.

Updated – Get SharePoint List Data … Fast – Hoosier BI

Pat

Microsoft Employee
Zwakele
Frequent Visitor

Hi 

 

Did you find a solution for this?

 

First workaround I’ve found is a OData query.

 

The strategy is to split the wide list. Try to create a several queries from a list, and then merge it into one wide table (joined by ID column). In this case you should create OData query manually for each chunk of the list.

For example:

 

let

Source1 = OData.Feed("https://###.sharepoint.com/teams/Projects/_api/web/lists/GetByTitle('Project List')/items()/?$select...")

in

Source1

@kompas_ua Could you provide your entire OData Query? Having trouble with mine.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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 Solution Authors