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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Ranjith_96
Helper I
Helper I

Length of the results exceeds the length limit (2GB) of the target large type

Hi Power BI Community,

My report file size is 1 GB, but the refresh is not happening. Its getting failed with the below error. I'm not sure why?.  THe file size is also lesser than 2 GB. If i try to refresh from my local computer , its refreshing. Please note, My report is in onpremise report server.

Data refresh failed. Please try again later or contact your administrator.

SessionID: 108189da-c-41ca-83e0-34647cfa35a1
[0] 0: WRITE: The length of the result exceeds the length limit (2GB) of the target large type.

Any help would be really appreciated. Thanks.

1 ACCEPTED SOLUTION

Hi @Ranjith_96 ,

vrongtiepmsft_0-1705651166971.png

More details: Power BI report scheduled refresh in Power BI Report Server - Power BI | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-rongtiep-msft
Community Support
Community Support

Hi @Ranjith_96 ,

The ability to load reports with imported data or DirectQuery, and the ability to perform scheduled refresh, rely on an Analysis Services instance being hosted alongside of the report server. As a result, this could result is unexpected memory pressure on the server. Plan your server deployment accordingly knowning that Analysis Services may be consuming memory alongside the report server.

 

The data model loaded into the internal Analysis Services engine during a scheduled refresh has a maximum size of 2,000 MB (2GB). This maximum size can't be configured. If your data model grows larger than 2GB, you will receive the refresh error, "The length of the result exceeds the length limit (2GB) of the target large type." In that case, we recommend hosting the model in an Analysis Services instance and using a live connection to the model in the report.

 

More details: Power BI report scheduled refresh in Power BI Report Server - Power BI | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

Hi @v-rongtiep-msft . Thanks much for your response. Could you please let me know, How can i check the model size of the analysis service for this particular report?

 

Hi @Ranjith_96 

You could have a good idea of the size of your Power BI model by opening it with Power BI Desktop and monitoring with the Task Manager the memory usage of its embedded Analysis Services:screenshot-1.png

 This YouTube video from Marco Russo and Guy In the Cube explains this method.

Hope it will help you.

Have an amazing day

Hi @Ranjith_96 ,

vrongtiepmsft_0-1705651166971.png

More details: Power BI report scheduled refresh in Power BI Report Server - Power BI | Microsoft Learn

 

 

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details.

 

Best Regards
Community Support Team _ Rongtie

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors