Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

DirectQuery with SQL statement from Power BI advanced option in Power BI Desktop throwing error

DirectQuery with SQL statement from Power BI advanced option throwing error DirectQuery as below

balajiratnala6_0-1669794942676.png

balajiratnala6_1-1669794982002.png

 

 

1 ACCEPTED SOLUTION

@amitchandak  Thanks for reply.  Issue resolved. semicolon at end of query caused that issue. Removing semicolon from query resolved issue.

 

Thanks,

balaji R

View solution in original post

2 REPLIES 2

@amitchandak  Thanks for reply.  Issue resolved. semicolon at end of query caused that issue. Removing semicolon from query resolved issue.

 

Thanks,

balaji R

amitchandak
Super User
Super User

@balajiratnala6 . Either the credential or path is wrong or it is a very old version of the SQL server not supported for direct query

 

Make sure you are able to connect to SSMS on the same machine.

 

Also, share the version of the SQL server used

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.