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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Mariollo
Helper I
Helper I

Resources Exceeded - how to check how much memory my query consumes?

I am using a Pro license with a 1GB limit for my queries.

I have a table with 17 million rows where I need to calculate the standard error of the mean, standard deviation, etc., so each row is required.

I am struggling with a "Resources Exceeded" issue.

I moved the logic to PQ, but it didn’t work well.

How can I check how much memory my query consumes?

What other steps can I try to avoid this issue?

4 REPLIES 4
Anonymous
Not applicable

Hi,

Thanks for the solutions darkniqht  and PijushRoy  offered, and i want to offer some more information for user to refer to.

hello @Mariollo , based on your description, you have 17 million rows data, to improve the performance, you can consider to use the incremental refresh for the report, you can refer to the following link about it.

Configure incremental refresh and real-time data for Power BI semantic models - Power BI | Microsoft...

And you can use query diagnostics in power query to check, you can refer to the following link about it.

vxinruzhumsft_0-1730344437331.png

Query diagnostics - Power Query | Microsoft Learn

 

Best Regards!

Yolo Zhu

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

 

darkniqht
Advocate I
Advocate I

To check how much memory your query consumes in Power BI, you can use the following steps:

  1. Query Diagnostics:

    • In Power Query, go to the Tools tab.
    • Select Query Diagnostics to get insights into performance, including memory usage.
  2. Performance Analyzer:

    • In Power BI Desktop, go to the View tab and enable Performance Analyzer.
    • Start recording and then refresh your visuals. It will show you how long each visual takes and can give clues about resource usage.
  3. Data Reduction Techniques:

    • Filter Data: If possible, filter out unnecessary rows before importing.
    • Aggregate Data: Instead of calculating on all 17 million rows, consider summarizing the data first.
    • Use DAX Measures: Perform calculations using DAX instead of Power Query, as DAX can be more memory efficient.
  4. Optimize Data Types:

    • Ensure your data types are as efficient as possible (e.g., using integers instead of decimals where applicable).
  5. Increase Memory Limit:

    • If you frequently hit resource limits, consider upgrading to a higher capacity with Power BI Premium.
Mariollo
Helper I
Helper I

Hey @PijushRoy your solution is rather for Desktop than Service.

 

For Desktop there is another solution, you can go to Options and change Query-limit simulations, but this is not what I am looking for.

Mariollo_0-1730215883293.png

 

 

PijushRoy
Super User
Super User

HI @Mariollo 
Can you go to Option & Settings and clear the catch, then try again
If you face the same issue, please reply

PijushRoy_0-1730212375616.png

 




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.