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
rahulnaik126
New Member

Unable get data from SQL Server in Power BI Desktop

Hi,

 

I am trying to get data from MS SQL Server into Power BI Desktop. I am trying with local instance of SQL Server. I am connecting to local instance using Windows credential. The server is getting connected but it's not showing any database or table under that server. When I login with same credentials into MS SQL Server,  I am able to access all databases and tables.

 

Please help me to resolve this.

 

Thanks,

Rahul Naik

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @rahulnaik126 

If you get data from sql server by this document:

https://powerbi.microsoft.com/en-us/blog/pull-data-from-sql-server-with-power-bi-designer/

https://docs.microsoft.com/en-us/power-bi/service-gateway-sql-tutorial

And if you have changed the display options as below:

6.JPG

 

And also please check that if your account has view definition permission on the table in SQL Server. Go to Files>Options and settings>Data source settings, select Global permissions, delete any existing SQL Server data sources and then connnect to your SQL Server from Power BI Desktop.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-lili6-msft ,

 

Thanks for the response, but I am still facing same issue. I am logging using Windows credentials and database, both the user have View Definition permission.

 

When I am trying to connect using windows credentails, the server get connected but it's not showing any databases or table under it. And When I am trying to connect using database credentials, it is giving me below error:

 

"We couldn't authenticate with the credentials provided. Please try again."

Due to Security policy I can't attach screenshot here. Please help me to resolve this.

 

Thanks,

Rahul Naik

Just from your description, I'm sorry that i couldn't think of any other reason. I recommend you create a support ticket in Power BI Support to get further help.
Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".

 

 

submit a support ticketsubmit a support ticket

https://community.powerbi.com/t5/Community-Blog/How-to-create-a-support-ticket-in-Power-BI/ba-p/6830...

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.