Showing results for 
Search instead for 
Did you mean: 

OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Incorrect syntax near ')'..

Hello all,


I tried connecting the AS db to Power BI through Direct Query mode and I face this issue below:




I checked the database name and they were found correct, also I have the permission to access the data. It would be great if you guys reply, whether you faced this issue. 


Thanks! 🙂  

Watsky Regular Visitor
Regular Visitor

Re: OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Incorrect syntax near ')'..

Did you happen to use a native query when you connected to your data source?

Helpful resources

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 134 members 1,753 guests
Please welcome our newest community members: