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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
WinterGarden
Helper III
Helper III

Timeout issue for sharepoint list in powerbi service

Hi All,
I am getting a timeout error while refreshing the dataset in powerbi service.

WinterGarden_1-1711374345408.png

:Tasks" is a sharepoint list.
I wanted to add the timeout code [Timeout=#duration(0,0,36000,0)] in the below code.
can some one help me with this:

WinterGarden_3-1711374729415.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @WinterGarden 

 

Here's how you can incorporate the timeout code into your existing Power Query code:

 

Open your Power BI Desktop file where you've connected to the SharePoint list.

 

Click "Transform data" to access the power query.

 

vnuocmsft_0-1711416532139.png

 

In the “Advanced Editor“ you can add a timeout parameter to the SharePoint list source step.

 

vnuocmsft_1-1711416658563.png

 

After you have made this change, save your query changes and try refreshing the dataset again in Power BI Desktop. 

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,
I've added [Timeout=#duration(0,0,36000,0)] in first step in advanced editor, but it was throwing error. please find the below code and error message for the reference.

WinterGarden_0-1711433187910.png

WinterGarden_2-1711433700319.png

Expression.Error: 'Timeout' isn't a valid SharePoint List option. Valid options are:
ApiVersion, DisableAppendNoteColumns, Implementation, ViewMode

 

 

Anonymous
Not applicable

Hi @WinterGarden 

 

As the error message indicates, the "Timeout" option is not a valid parameter for SharePoint lists.

 

"Timeout" is used for Web data sources or SQL queries to specify how long the system should wait before timing out.

 

If you are using a web source or SQL database and need to set a timeout, you can add a "Timeout" parameter to the corresponding function call. For example: 

 

let
    Source = Web.Contents("http://example.com", [Timeout=#duration(0, 0, 36000, 0)])
in
    Source

 

I performed a query on the document and if I get a timeout error when refreshing the dataset in the Power BI service that is connected to the SharePoint list, it could be due to one of the following reasons:

 

Network issues: There may be connectivity issues between the Power BI service and the SharePoint server hosting the list.

 

SharePoint list size: If the SharePoint list is very large, the time taken to retrieve and process the data may exceed the service's timeout limit.


Shared capacity: If you use shared capacity in Power BI Premium, the available resources may not be sufficient to process large amounts of data in SharePoint lists.


Data Model Complexity: Data Model Complexity: The data model associated with a SharePoint list may be complex, resulting in longer refresh times.


Timeout Configuration: As mentioned earlier, Power BI does not support setting timeouts directly for SharePoint connections. If the underlying data source or data flow has a timeout setting, the timeout setting may be triggered.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors