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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.