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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.