Forum Discussion
SQL error in Power BI advanced editor
- Anonymous5 years ago
Hi Analitika
I could reproduce the issue like yours. My column name in SQL is [Name.1], Power BI seems that couldn't identify the column name with dot.
I think you could try to rename the column name in SQL. If you replace "." by "_",it works well.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Analitika
You can use within square brackets without quotes as follows
Tablename[ name.1]
- Analitika5 years ago
Post Prodigy
Still not helped, I am getting similar error like: DataSource.Error: ODBC: ERROR [42601] ERROR: syntax error at or near "["; when I have tried to use a bracket - [name.1] for example.
- Anonymous5 years agoNot applicable
Hi Analitika
I could reproduce the issue like yours. My column name in SQL is [Name.1], Power BI seems that couldn't identify the column name with dot.
I think you could try to rename the column name in SQL. If you replace "." by "_",it works well.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.