Skip to main content

Posts

Showing posts with the label Failed to save modifications to the server: OLE DB or ODBC error

Ad

Failed to save modifications to the server: OLE DB or ODBC error

The error  "Failed to save modifications to the server: OLE DB or ODBC error: [DataSource.Error] PostgreSQL: 57014: canceling statement due to statement timeout"  occurs when Power BI cannot complete a query to a PostgreSQL database within the configured timeout period. This can result from long-running queries, insufficient database resources, or improper transaction handling. Here are steps to troubleshoot and resolve the issue: 1. Increase the Query Timeout in Power BI Power BI has a default query timeout that may need adjustment for complex or large queries. Steps: In  Power BI Desktop : Go to  File  >  Options and Settings  >  Options . Under  Global  >  Data Load , increase the  "Maximum allowed timeout in minutes" . Under  Current File  >  Data Load , increase the timeout setting if applicable. Save the changes and retry the query. 2. Optimize the SQL Query If the query takes too long, optimize...