Forum Discussion

kkraft's avatar
kkraft
New Member
2 years ago
Solved

OLE DB or ODBC error: [DataSource.Error] The request failed. The operation has timed out.

receiving this error OLE DB or ODBC error: [DataSource.Error] The request failed. The operation has timed out. when refreshing. How can i fix this error? 
  • Ritaf1983's avatar
    2 years ago

    Hi kkraft 

    Hi. Power Bi Pro has a limit of 2 hours to refresh your data.if you exceed that time you can't continue. This can happen for different reasons like bandwitdh (if you have a gateway) or dataset size.

    You have to consider reading about downsizing data model. You can find amazing youtube videos from guy in a cube and others in order to make your model smaller. Usually making a good star schema helps.

    Another thing you can check is if your source is returning the data fast. You might have a big crazy native query to the source that takes a lot. Those scenarios might need a middle store procedure building a table in the data base engine in order to help Power Bi only reading the resulted table and avoiding running a complex query.

    If you are on premise you can also check bandwidth but that might be the last option because the first two I have mentioned are the most common issues.

    For more information please refer to the linked article:

    https://blog.crossjoin.co.uk/2021/12/05/troubleshooting-power-bi-timeouts-part-1-the-two-five-hour-import-refresh-limit/

     

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