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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Raja10ram
Frequent Visitor

Query Resources Exceeded Error

Hello Community Teams,

I am encountering the following error:
"Resources Exceeded: The query has exceeded the available resources. Try filtering to decrease the amount of data requested."

I believe the query is processing a large dataset. I’ve already tried adding filters, but the issue persists.

Could anyone suggest how to optimize the query further or manage resource limitations effectively? Any best practices for handling large datasets in this context would be greatly appreciated.

Thanks in advance for your help!

 

 

Raja10ram_0-1732086701170.png

 

2 ACCEPTED SOLUTIONS
Idrissshatila
Super User
Super User

Hello @Raja10ram ,

 

you need to minimize the load, try removing complex measures from the table and make it in Power query.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

shafiz_p
Super User
Super User

Hi @Raja10ram 

The "Resources Exceeded" error in Power BI typically occurs when a query or its calculations consume more memory than the configured limit. Here are some strategies to optimize your query and manage resource limitations effectively:

 

Simplify Your Query:

  • Review and simplify your query by removing unnecessary columns, filters, or transformations.
  • Ensure you're only loading the data needed for your report.

Reduce Data Volume:

  • Filter your data to load only a subset, such as a specific date range or relevant categories.
  • Consider aggregating or summarizing data at the source level before importing it into Power BI.

Optimize Data Model:

  • Use best practices for modeling your data, such as avoiding overly complex relationships and using role-playing dimensions.
  • Prefer calculated tables over calculated columns when possible.

 

Hope this helps!!

If this solved your problem, please accept it as a solution and a kudos!!

 

Best Regards,
Shahariar Hafiz

View solution in original post

5 REPLIES 5
manoj_kumar95
New Member

I have been trying with this formulas to find out drawdown but when i am running the max dax function in the table its giving me the same value all over though i sort the date which is in date/time format. I am not understanding the reason why please help me out. I think its taking the max value directly what should i change to the running max ?

manoj_kumar95_0-1748027525164.png

manoj_kumar95_1-1748027548713.png

 

DailyCumulativeProfit =
CALCULATE(
    SUMX(
        FILTER(
            ALL(trade_logs),
            trade_logs[date] <= MAX(trade_logs[date]
            )
        ),
        trade_logs[pnl]
    )
)
which i am getting it correct
then for 
RunningMaxPnL =
CALCULATE(
    MAXX(
        FILTER(
            ALL(trade_logs),
           trade_logs[date] <= MAX(trade_logs[date]
            )
        ),
        [DailyCumulativeProfit]
    )
)
CapSumit
New Member

I am facing same issue what @Raja10ram is facing if you have solution please help on this

 

shafiz_p
Super User
Super User

Hi @Raja10ram 

The "Resources Exceeded" error in Power BI typically occurs when a query or its calculations consume more memory than the configured limit. Here are some strategies to optimize your query and manage resource limitations effectively:

 

Simplify Your Query:

  • Review and simplify your query by removing unnecessary columns, filters, or transformations.
  • Ensure you're only loading the data needed for your report.

Reduce Data Volume:

  • Filter your data to load only a subset, such as a specific date range or relevant categories.
  • Consider aggregating or summarizing data at the source level before importing it into Power BI.

Optimize Data Model:

  • Use best practices for modeling your data, such as avoiding overly complex relationships and using role-playing dimensions.
  • Prefer calculated tables over calculated columns when possible.

 

Hope this helps!!

If this solved your problem, please accept it as a solution and a kudos!!

 

Best Regards,
Shahariar Hafiz

Idrissshatila
Super User
Super User

Hello @Raja10ram ,

 

you need to minimize the load, try removing complex measures from the table and make it in Power query.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Hello @Idrissshatila 

Here,I didn't use any Complex measure just showing the Opening Value & Qty and Closing value & Qty which i am Showing the Stock Statement table.

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.

Top Solution Authors