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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Performance issues - Loading, previewing, evaluating etc

Hi Experts,

 

I am trying to build a very basic graph with three source tables which has less than 2 million rows in two tables and 2000 rows in third table.

I see a lot of performance issue loading the data to Power BI from the SQL Server database.

Loading, previewing and evaluating taking a lot of time or like runs forever.

What am I missing?

 

Appreciate your help.

1 ACCEPTED SOLUTION
v-luwang-msft
Community Support
Community Support

HI @Anonymous ,

Here are some options to improve some performance that you can optimize based on what I have mentioned below.

1. Use the latest version of Power BI Desktop

2. Untick the following options in your current PBIX file. You can go to File -> Options and settings -> Options->CURRENT FILE(Data Load) to find the options.

vluwangmsft_0-1643187451331.png

 



3. Follow the guide in this blog to disable Load for these intermediate queries in your PBIX file to save memory.

4. Optimize your data model by following  the tips in the articles below.
  Data Import Best Practices in Power BI
  Power BI Performance Tips and Techniques

5. Use a faster computer with bigger memory would help in your scenario.

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

View solution in original post

5 REPLIES 5
v-luwang-msft
Community Support
Community Support

HI @Anonymous ,

Here are some options to improve some performance that you can optimize based on what I have mentioned below.

1. Use the latest version of Power BI Desktop

2. Untick the following options in your current PBIX file. You can go to File -> Options and settings -> Options->CURRENT FILE(Data Load) to find the options.

vluwangmsft_0-1643187451331.png

 



3. Follow the guide in this blog to disable Load for these intermediate queries in your PBIX file to save memory.

4. Optimize your data model by following  the tips in the articles below.
  Data Import Best Practices in Power BI
  Power BI Performance Tips and Techniques

5. Use a faster computer with bigger memory would help in your scenario.

 

 

Did I answer your question? Mark my post as a solution!


Best Regards

Lucien

vanessafvg
Super User
Super User

how are you fetching the data from sql, can you post your m code?  is this direct query or imported?

 

do you know if you are using query folding?

 

how long is the load taking?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

Thanks for the response venessa.

Hope the below is what you are after. No query folding. Also using import option.

The load takes over 1 hour.

 

 

 

let
    Source = Sql.Databases("Server001"),
    AISDM = Source{[Name="DB001"]}[Data],
    dbo_Activity_Master = AISDM{[Schema="dbo",Item="Activity_Master"]}[Data],
    #"Filtered Rows" = Table.SelectRows(dbo_CADM_Activity_Master, each [Date_Response] >= #datetime(2018, 1, 1, 0, 0, 0)),
    #"Merged Queries" = Table.NestedJoin(#"Filtered Rows", {"Date_Response"}, View_DIM_DateMap, {"Date"}, "View_DIM_DateMap", JoinKind.Inner)
in
    #"Merged Queries"

 

 

 

 

ideally you want to achieve query folding, so that the compute of your sql server is used.

 

are both these tables on sql?  it would be better to join the in a sql query filter via a sql statement, the problem seems to me that you are using the mashup engine rather than the sql server compute because of your merge join.  That probably has broken the query folding.

 

better to write the full sql query and in sql whether via a view or in the advanced options area and filter your date from there.

 

vanessafvg_0-1642949765103.png

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




also share your pbix if you can.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.