Good afternoon,
Some of our developers are facing a very annoying issue when working with Visual Studio (2019)
They create a simple AAS cube where they define an ODBC Teradata connection , let's say "Odbc/authentication=td2;dsn=BIPDEV"
Once done , they do an import table and directly go on the powerquery editor to write their SQL query as follow
let
Source = Odbc.Query("Odbc/authentication=td2;dsn=BIPDEV", "select CURRENT_TIMESTAMP;"),
#"Added Custom" = Table.AddColumn(Source, "SOURCE", each "TERADATA STG")
in
#"Added Custom"
- When they want to process, Our users receive the error message : (An M partition uses a data function which results in access to a data source different from those defined in the model). We are unable to understand this error message as we go directly as the datasource are the same as the one used in the M query
- Is Is there a way , through Odbc.Query , to use directly the Data source name instead create a kind of new connection ?
Nota: We can confirm there is no issues in the query, the access right etc... and we've got the same error when using Sql.Database.