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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

SQLite database with ODBC conection - Automatic/scheduled update

I have a local .sql database file that is connected to Power BI through the ODBC interface. The connection works fine and I am able to visualize the data in Power BI. However, when the database is updated with new data, the ODBC connection doesn't seem to update the data in Power BI. The data is updated only if I open/explore the database in DB Browser (SQLite) and then refresh the data manually in Power BI Desktop. 

 

Is there a way to make this process automatic? I.e. when data is inserted into the database, it also updates in Power BI? 

 

This is the DSN configuration in ODBC:

goncz_0-1638174975360.png

 

2 REPLIES 2
Anonymous
Not applicable

Thanks for your answer, @v-henryk-mstf . A limitation of using a setup like this is that the gateway software has to be running on a computer for this to work, right? I was hoping to find a solution that doesn't rely on a running computer.

 

Eitherway, I tried to implement this solution, but now facing an issue of

"The credentials provided for the Odbc source are invalid. (Source at dsn=***)"

when setting up scheduled refreshes of the dataset. I am pretty sure that the credentials are correct, but what credential exactly is it referring to here? I don't have any credentials set up on the ODBC side, or on the .SQL dataset as far as I remember. 

v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, it seems that you want to automatically refresh the data from the ODBC data source in powerbi desktop. But there is no way to configure automatic refresh in powerbi desktop, it can only do manual refresh to get the latest data queried based on the DNS configured for ODBC and the corresponding SQL statements executed against the ODBC driver.


If you want to configure an automatic refresh mechanism, you can do so by connecting to a local ODBC data source through a gateway in the powerbi service. For details, please refer to the following similar solution


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.