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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ArulKannan
Frequent Visitor

could not load data for this visual

 

I am experiencing two different errors while using direct query method in power bi desktop for same visual. same works in app.powerbi.com.

 

Please provide your suggestion what may causing these issues.  Is this due to my internal network error?. 

 

 

MicrosoftTeams-image.pngCapture.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@ArulKannan 

For timeout error, you may have to try different duration to test the connection timeout. See details here - https://docs.microsoft.com/en-us/powerquery-m/sql-database


Example:
Source = Sql.Database("Servername", "tablename", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
or
Source = Sql.Databases("Servername", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])

 

 

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

 

 

 

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

@ArulKannan 

For timeout error, you may have to try different duration to test the connection timeout. See details here - https://docs.microsoft.com/en-us/powerquery-m/sql-database


Example:
Source = Sql.Database("Servername", "tablename", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])
or
Source = Sql.Databases("Servername", [option1, option2, ConnectionTimeout=#duration(0, 0, 20, 0)])

 

 

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

 

 

 

Pragati11
Super User
Super User

Hi @ArulKannan ,

 

If you are trying to connect to a database like SQL Server using Directquery mode, try adding something to your time-out area like 120. This sould help with the timeout issue.

Pragati11_0-1629722536524.png

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

@Pragati11  I tried this but no use. Still its throwing same timeout error for some of visuals. 

 

 

Capture.PNG

Hi @ArulKannan ,

 

What is the value in this card visual?

Is there a calculation that you are using? If yes can you share what calculation it is?

 

Thanks.

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Greg_Deckler
Community Champion
Community Champion

@ArulKannan Difficult to say. I have seen issues like this that are solved by closing all copies of Desktop locally and then reopening. Otherwise, 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@ArulKannan , Are you using cloud database, which you have access to on power bi service and not on desktop?

 

What is a database and how are you connected with it.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak I am using sql server database, its not working properly with desktop direct query mode. same works fine after I published and using that in app.powerbi.com

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.