How to Export Data in Excel of SSRS Report if data exceeds greater than 65k
When I try to export data of Report generated in SSRS 2005 and the data is > 65K then I am getting following error message:Excel Rendering Extension: Number of rows exceeds the maximum possible rows per sheet in this format; Rows Requested: 88952, Max Rows: 65536 Is there any option to split the Excel sheet automatically while exporting is data exceeds more than 65K. Please suggest me the way to handle the same. In my report there is no grouping done.
September 18th, 2009 9:52am

Hi,Please check out this link which might answer your question: http://www.sqlservercentral.com/Forums/Topic485412-1063-1.aspxRegards,Raju
Free Windows Admin Tool Kit Click here and download it now
September 18th, 2009 9:59am

Hi,As Raju said, add a group to the table based on the row number. And then add a page break at the end of the group.By default, the Reporting Services export one page into one sheet in Excel. Another suggestion, please break page each 60000 rows, not 65000, although it is allowed to export 65000 rows to Excel. 50000 is better.That is used to avoid "Out of memorry" exception.Best regards,Jin ChenJin Chen - MSFT
September 22nd, 2009 11:40am

Thanks Raju for this solution now I am able to do the paging and not getting the error.But still I am facing a issue that I am having Grand Total in Report Footer and it goes to next sheet as it is outside that group. I want to show the Grand total of all records at the end ofrecords e.g in my case I have done the paging after 50000 records and infirst sheet I am getting 50000 and in second sheet I am getting 30000 records and in third sheet I am getting one row showing the Grand Total.The solution provided by you solves my error related purpose but can you please suggest me some solution for the above mention problem coming now after implementing the same.
Free Windows Admin Tool Kit Click here and download it now
September 23rd, 2009 2:02pm

ThanksJin for this solution now I am able to do the paging and not getting the error.But still I am facing a issue that I am having Grand Total in Report Footer and it goes to next sheet as it is outside that group. I want to show the Grand total of all records at the end ofrecords e.g in my case I have done the paging after 50000 records and infirst sheet I am getting 50000 and in second sheet I am getting 30000 records and in third sheet I am getting one row showing the Grand Total.The solution provided by you solves my error related purpose but can you please suggest me some solution for the above mention problem coming now after implementing the same.
September 23rd, 2009 2:03pm

To the original poster- did you get any solution for the problem? On searching I have come across this thread and I am also facing the same issue. Could someone tell me if there is any workaround for this ? Regards, Karthik
Free Windows Admin Tool Kit Click here and download it now
February 17th, 2010 10:43am

I too am having this problem. Can somehow changing the ssrs excel version to 2007 be a solution?
March 1st, 2010 8:36pm

Hi, As Raju said, add a group to the table based on the row number. And then add a page break at the end of the group. By default, the Reporting Services export one page into one sheet in Excel. Another suggestion, please break page each 60000 rows, not 65000, although it is allowed to export 65000 rows to Excel. 50000 is better. That is used to avoid "Out of memorry" exception. Best regards, Jin Chen Jin Chen - MSFT I followed this suggestion using 50000 rows per page break but I still get a system out of memory exception on a local machine with 2 gigs of memory on a report with about 100K rows. Does that sound right? Also the deployment server has 8gigs of ram so should that be enough?
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2010 12:00am

My friend introduces one article about exporting data to Excel for me. After reading your question, I think that this article may be helpful for you. You can read it on http://www.c-sharpcorner.com/UploadFile/d0cbea/6031/?ArticleID=fbec7acd-cc67-470e-a760-f6475d255db7
March 14th, 2011 1:26am

The 64K row limit is due to the Excel BIFF format. One option to consider for current releases of Reporting Services is to export the report as CSV. If you then use Excel, create a new XSLX file and import from the CSV file, you can get more than 64K rows. HTH, RobertRobert Bruckner http://blogs.msdn.com/robertbruckner This posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
March 14th, 2011 1:50am

to convert to xlsx you simply open the csv file inside of Excel where you can then save as an excel file.
June 20th, 2011 3:23pm

to convert to xlsx you simply open the csv file inside of Excel where you can then save as an excel file.
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 3:23pm

Thank you for your response. but the Excel file is not formatted.K.Athma
June 20th, 2011 4:18pm

Thank you for your response. but the Excel file is not formatted.K.Athma
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 4:18pm

Hi Robert Bruckner / All, I know how to export the report to CSV file. But I could not understand " If you then use Excel, create a new XSLX file and import from the CSV file, you can get more than 64K rows". How to convert CSV to excell? Thanks,K.Athma
June 20th, 2011 7:34pm

Hi Robert Bruckner / All, I know how to export the report to CSV file. But I could not understand " If you then use Excel, create a new XSLX file and import from the CSV file, you can get more than 64K rows". How to convert CSV to excell? Thanks,K.Athma
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2011 7:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics