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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Power Query connector valid ODBC connection before reuse

Our connector uses Odbc.DataSource. If a developer works long hours on a single report in Power BI Desktop, the ODBC connection may become dead, thus causing an error when Power BI Desktop executes a query over this dead connection.

 

I would suggest Power BI to validate the ODBC connection using 

SQLSetConnectAttr(conn, SQL_ATTR_CONNECTION_DEAD, ..) before executing a query. If it's dead, reallocate a new one.

Status: New