Forum Discussion
CTouu
3 years agoFrequent Visitor
ODBC Url connection How to put a parameter
Hi ! I've got a simple (I think) issue. I have a simple connection to a Postgre DB Connection by ODBC (i don't use the postgre connector, don't need to propose). I have several DBs and I wan...
- 3 years ago
= Odbc.DataSource("Driver={PostgreSQL Unicode(x64)};Server=localhost;Port=5432;Database=" & databasename & ";", [HierarchicalNavigation=true])
CTouu
3 years agoFrequent Visitor
I'm in Power Query in the Desktop.
I decide which of the parameter value to use in the query editor
I want to add the parameter name after "database"
= Odbc.DataSource("Driver={PostgreSQL Unicode(x64)};Server=localhost;Port=5432;Database=databasename;", [HierarchicalNavigation=true])
- lbendlin3 years agoSuper User
I decide which of the parameter value to use in the query editorHow?
- CTouu3 years agoFrequent Visitor
In the Source Query :
= Odbc.DataSource("Driver={PostgreSQL Unicode(x64)};Server=localhost;Port=5432;Database=databasename;", [HierarchicalNavigation=true])
I want to add a parameter name instead of "databasename" because for now it's hardcoded and I want the database name to be dynamic.
- lbendlin3 years agoSuper User
Why does it have to be a multi choice parameter? Could it be a scalar parameter instead?
Are you trying to implement your own version of deployment pipelines?