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
GoingIncognito
Advocate III
Advocate III

How to mimimize used memory when querying same table twice?

I was forwarded today a question that really boils down to:

Same table needs to be queried twice. Or to be more precise, in Power Query Editor the query towarded to table needs to be reiterated. One query brings a whole lot of rows and the other only a few rows. In this scenario what is the best way to save used memory? The source is SQL Server, so the query could be written as T-SQL. I'm quessing a T-SQL query that brings only needed rows could be the best way to limit memory usage?

 

Also I'm still in process of reading this:
https://blog.crossjoin.co.uk/2016/11/20/referenced-queries-and-caching-in-power-bi-and-power-query/ 

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

Hi @GoingIncognito ,

For memory optimization problems, you can refer to these articles:

Ten Techniques for Optimising Memory Usage in Microsoft Power BI 

https://blog.pragmaticworks.com/power-bi-performance-tips-and-techniques 

https://community.powerbi.com/t5/Desktop/Power-BI-in-memory-RAM-Overload/td-p/123662 

 

Best regards,
Lionel Chen

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

View solution in original post

1 REPLY 1
v-lionel-msft
Community Support
Community Support

Hi @GoingIncognito ,

For memory optimization problems, you can refer to these articles:

Ten Techniques for Optimising Memory Usage in Microsoft Power BI 

https://blog.pragmaticworks.com/power-bi-performance-tips-and-techniques 

https://community.powerbi.com/t5/Desktop/Power-BI-in-memory-RAM-Overload/td-p/123662 

 

Best regards,
Lionel Chen

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

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.