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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

SQL Query not loading in Power BI: Unable to connect

Hi guys,

 

im trying to load an SQL query in Power BI. The Query works with SQL Management Studio and takes 7 minutes to load. But once i execute in Power BI it takes very long and eventually error message comes: 

 

Unbenannt.JPG

 

 

They query has some declare statements in the beginning: 

 

Unbenannt.JPG

 

Other than that only some joins and subselects. 

 

Any body an idea why it does not load?

 

Thx

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

You may modify the command timeout parameter to work through this issue.

1.PNG

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

You may modify the command timeout parameter to work through this issue.

1.PNG

 

Best Regards,

Jay

HotChilli
Super User
Super User

The error message says it timed out.

We can't offer advice on the query because the picture only shows some variable declarations.  We need to see the query (and even then this will probably involve tuning the query and indexes in SQL Server before powerbi gets involved)

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.