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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Powerbisai
New Member

Error after 'Close and Apply' in Editor

The data in Editor is from Mar 01 to current date however when I close and apply I have an error with message 

"OLE DB or ODBC error: [Expression.Error] Query execution has exceeded the allowed limits (80DA0001): 'sort' operator has exceeded the memory budget (5368709120) during evaluation".

 

Please advise how to overcome this.

1 REPLY 1
Ghhousuddin
Resolver I
Resolver I

The error message you received indicates that the sort operator in your query has exceeded the memory budget and the query execution has exceeded the allowed limits. This can occur if your dataset is very large or if the query is complex and requires a lot of memory.

Here are some steps you can take to overcome this issue:

1. Optimize your query: Review your query and see if there are any areas that can be optimized. For example, you may be able to reduce the number of columns being returned or the amount of data being processed. You can also try to simplify the query by breaking it down into smaller, more manageable steps.

2. Increase memory limit: You can increase the memory limit for Power Query by going to the "File" menu, selecting "Options and settings", and then selecting "Options". Under the "Current File" tab, select "Data Load" and increase the "Maximum allowed memory usage" setting. This will allow Power Query to use more memory to complete the query.

3. Use incremental loading: If your data source supports incremental loading, consider using this option to load only the new or changed data instead of loading the entire dataset every time.

4. Use DirectQuery mode: If your data source supports DirectQuery mode, consider using this option to offload the processing to the database engine and avoid loading large amounts of data into memory.

5. Upgrade hardware: If your query is still exceeding the memory limits after optimizing and increasing memory, you may need to upgrade your hardware to provide more memory and processing power.

Try these steps and see if they help to overcome the issue. If the problem persists, you may need to seek additional help or support from your IT department or the software vendor.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors