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
Anonymous
Not applicable

Slow Applying Query Changes

Hello,

 

I have a data model that contains 3 tables, 1 fact table and 2 dimension table. I have applied the basic relationship using one to many. I have filtered the needed requirements and columns as well. The thing is when i click close and apply, the apply query changes is taking too long to load the data. It's really slow like it would take 1-2 hours to finish loading the model for 1 table that i have changed.

 

Is there a way to speed up things? The data source is SQL (through OLEDB conection), 2 local excel files as reference.

 

Thanks for the help..

3 REPLIES 3
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

What is the data source of this table? If it is SQL Server, you could try using the standard SQL Server connector instead of the OLEDB connector. This may improve the performance. 

Reference: Best practices when working with Power Query | Microsoft Docs

 

And you could use Sql Server Profiler to find out the duration time of a query operation at the database side. In this way, you could further find out whether query time is too long or the proceeding operations takes too much time.

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

edhans
Super User
Super User

We'd need to see the M code for the table you have transformed. If it is SQL Server, hopefully most of the transformations are folding. Please use the </> code box on the menu bar (hit the ... button to see it) so the code is a bit more readable.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
gdarakji
Resolver III
Resolver III

Is the dataset too large? How many columns do you have in the fact table and the dimension tables?

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.

Top Solution Authors
Top Kudoed Authors