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
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
v-rzhou-msft
Community Support
Community Support

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
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.