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
AndreasDest
Regular Visitor

Dataset Refresh Fails with error : The evaluation reached the allowed cache entry size limit

The refresh of a dataset on PowerBI service fails and the error given is "We're sorry, an error occurred during evaluation.;The evaluation reached the allowed cache entry size limit. Try increasing the allowed cache size.. The exception was raised by the IDataReader interface.". Locally the refresh is completed without any issue. We are using pro licenses. The size of the dataset is ~400Mb and its sources are Azure SQL Database and Excel Files located on Sharepoint Online. No Power BI Gateway is being used to refresh the data on the service. I have increased the maximum allowed Mbs of Data Cache Management locally on PowerBi desktop.

I can't find any reference about the cache usage and how I can reduce it on the dataset or even which are its limits on Power BI service. It seems like a black box. The problem started after I added some data (minor in terms of volume) from excel files on Sharepoint online, I don't know if it is a coincidence.

 

Any help and guidance would be highly appreciated!

 

Best

1 ACCEPTED SOLUTION
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

hey, try reducing the number of simulstanious evaluation it does in addition to increasing the maximum MB permit per evaluation(that you aleady did). 

also try to norrow down the query giving you the error you can run each query one by one and see the amount of time taking each one and the amount of data its pulling. them send over the query script to see if theres a optimization issue with the code. 

if all fails also open a support ticket for microsoft since they can provide you additional information on the server error its giving you if you cant access any more information about the incident to determine (also try running each query as a dataflow to see how its behavite in the web service). 

 

hope this give some orientation to start with 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

hey, try reducing the number of simulstanious evaluation it does in addition to increasing the maximum MB permit per evaluation(that you aleady did). 

also try to norrow down the query giving you the error you can run each query one by one and see the amount of time taking each one and the amount of data its pulling. them send over the query script to see if theres a optimization issue with the code. 

if all fails also open a support ticket for microsoft since they can provide you additional information on the server error its giving you if you cant access any more information about the incident to determine (also try running each query as a dataflow to see how its behavite in the web service). 

 

hope this give some orientation to start with 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




The answer was in "try running each query as a dataflow to see how its behavite in the web service". When I moved the queries on dataflows I was able to spot the query giving the error.

Thank you very much for your response.

I reduced simultaneous evaluations but with no luck. I reduced the complexity (removed some merge steps) of some of the queries but still get the error.

Currently I am moving the queries to dataflows but it is considerable work.

I will come back with feedback later.

 

Best

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
Top Kudoed Authors