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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
DirectQuery
Helper I
Helper I

What does Creating connection in model... do on Refresh when SQL Server columns are added?

What does Creating connection in model... do on Refresh when SQL Server columns are added?

 

When columns are added to tables on SQL Server databases, then refreshing reports with DirectQuery can take minutes to complete or never complete.

 

How can I speed it up? Which settings are related to Creating connection in model...?

2 REPLIES 2
Anonymous
Not applicable

Hi @DirectQuery 

I think you may need to optmize your data model to speed it up.

You may refer to this blog: Optimization guide for Power BI

 

Best Regards,

Rico Zhou

 

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

lbendlin
Super User
Super User

That's a relatively recent addition. Power Query is trying to fetch meta data from the source. 

https://blog.crossjoin.co.uk/2020/07/05/why-is-power-bi-running-my-sql-query-twice/

 

One recommendation is to disable all relationship related options in the data load settings, and the data type sensing options too.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.