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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
opticshrew
Resolver II
Resolver II

Power BI isn't importing data from SQL data source

Hi Folks,

 

I'm querying a SQL database using the import type connection. I've added several tables with millions of rows per table. I can refresh some tables with no issue however other tables seem to show the "refresh box" with the following message:

 

[x] rows from [datasource]

 

However it doesn't go any further.

 

Any ideas?

 

Thanks,

J

1 ACCEPTED SOLUTION

Hi @Greg_Deckler

 

So before you read on, I'm no SQL expert to bear with my answer 🙂

 

When you refresh the Power BI report a job is run on the SQL database. This job "forwards" your query to the correct table. It looked as though the table being queried had an issue when generating IDs. Our SQL expert made a change on the database table that fixed all of our issues.

 

In other words, Power BI worked as expected but it was an issue on the datasource.

 

Hopefully that helps,

Jay

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

Hmm, that's a tough one to troubleshoot. Is it always getting up to a particular number of rows? You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler

 

So before you read on, I'm no SQL expert to bear with my answer 🙂

 

When you refresh the Power BI report a job is run on the SQL database. This job "forwards" your query to the correct table. It looked as though the table being queried had an issue when generating IDs. Our SQL expert made a change on the database table that fixed all of our issues.

 

In other words, Power BI worked as expected but it was an issue on the datasource.

 

Hopefully that helps,

Jay

DBA's = useful!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.