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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
spuff55
Frequent Visitor

Using a parameter with ODBC SQLite Connection

Hi All

 

I have an issue with an ODBC connection to an SQLite database that previously worked perfectly with a parameter, but now it doesn't.

Since it last worked, I have moved the location of the SQLite DB, and updated the parameter to the new file location.

 

I am getting this error message.

spuff55_0-1649880592260.png

 

And this is how the data source looks.

spuff55_1-1649880663149.png

 

When I change the connection string to use the file path and not the parameter.. i.e. "Database = C:\SQLiteDB", it works perfectly.

But with "Param = SQLite" it does not.

 

Strange how the "param = " worked before but now it doesn't.

 

Anyone know whats going on here?

 

Matt

2 REPLIES 2
Anonymous
Not applicable

Hi @spuff55 ,

 

Here is a similar thread, please kindly refer to:

Eyelyn9_1-1650250863241.png

 

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

HI

 

Thank you. I have the drivers installed and I know they are working, as when I do not use a parameter and link directly to the Sqlite file in my "Source" part of the query it works perfectly fine.

It is with using a parameter in the source that I am having a problem.

Regards

Matt

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.