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
Anonymous
Not applicable

Error : The query processor ran out of internal resources and could not produce a query plan

I receive the following error message : 

 

The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information.. The exception was raised by the IDbCommand interface.

 

My query is the following : 

LastClosed = CALCULATE(MAX('OptiQ Query'[ClosedUTC]),RELATEDTABLE('OptiQ Query'))

 

So i am trying to get the MAX date field from a related table.

both tables contain +10.000 rows. The formula worked in the past, but I assume that it fails since it passed a certain number of rows.

 

Any idea how I can make this work again?

 

Kind regards,

Bart

10 REPLIES 10

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.

Top Solution Authors