Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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!
Solved! Go to Solution.
Hello @Raja10ram ,
you need to minimize the load, try removing complex measures from the table and make it in Power query.
Proud to be a 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:
Reduce Data Volume:
Optimize Data Model:
Hope this helps!!
If this solved your problem, please accept it as a solution and a kudos!!
Best Regards,
Shahariar Hafiz
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 ?
[DailyCumulativeProfit] itself already uses ALL(trade_logs) inside, so when you call it inside another MAXX + ALL(trade_logs), the filter context gets overridden and you don’t get a row-by-row running max. Instead, you’re getting the same max value applied to the whole table.
You need to calculate the running max cumulative profit over time by referencing the measure result per date, not recalculating it globally.
RunningMaxPnL =
VAR CurrentDate = MAX(trade_logs[date])
RETURN
CALCULATE(
MAX([DailyCumulativeProfit]),
FILTER(
ALLSELECTED(trade_logs[date]),
trade_logs[date] <= CurrentDate
)
)
I am facing same issue what @Raja10ram is facing if you have solution please help on this
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:
Reduce Data Volume:
Optimize Data Model:
Hope this helps!!
If this solved your problem, please accept it as a solution and a kudos!!
Best Regards,
Shahariar Hafiz
Hello @Raja10ram ,
you need to minimize the load, try removing complex measures from the table and make it in Power query.
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 43 | |
| 37 | |
| 34 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 31 | |
| 26 | |
| 25 |