mariadb-corporation / mariadb-powerbi

Power BI DirectQuery Connector
https://mariadb.com
3 stars 1 forks source link

Syntax error with if statement #3

Closed Akos90 closed 3 years ago

Akos90 commented 3 years ago

When using "contains" in the "add conditional column" dialog, the query runs on syntax error: image

corresponding M code: image

Datasource is in import mode!

ilyagithub1 commented 3 years ago

@Akos90 Could you please provide more details about the query?

More information is required to reproduce this issue, for example:

Preliminary analysis

There's no error in your M line of code or the SQL quoted in the driver's error message. Both code snippets are correct.

The SQL syntax issue might originate from the rest of the query that surrounds the quoted snippet.

Possible causes for the SQL syntax issue:

With more details available about the original query yielding the error a more definitive response could be provided.