COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: dssd on 10 Apr 2012 06:48:12 AM

Title: Maximum number of rows in an excel
Post by: dssd on 10 Apr 2012 06:48:12 AM
I would be rendering a report into excel. What is the maximum number of rows that can be rendered? We might have a million rows that need to be displayed. I know a weird to display so many
Title: Re: Maximum number of rows in an excel
Post by: Cognos_World on 10 Apr 2012 10:47:04 AM
If you are using Excel 2007/ Excel 2010 the max number of rows in a worksheet is 1 million.
For Excel 2003 it was 65000.

Hope this helps.
Title: Re: Maximum number of rows in an excel
Post by: Grim on 10 Apr 2012 02:08:04 PM
Full details here:
http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx

PS. Don't use Cognos as an "interim" ETL tool to dump data to excel. Ask your DBA to do this if you need it. It's much faster.
Title: Re: Maximum number of rows in an excel
Post by: Lynn on 10 Apr 2012 02:57:20 PM
Quote from: Grim on 10 Apr 2012 02:08:04 PM
PS. Don't use Cognos as an "interim" ETL tool to dump data to excel. Ask your DBA to do this if you need it. It's much faster.

I'll second that!!

Also, I believe a result set that is more than 65,000 rows gives you multiple sheets in the file with no more than 65,000 on each. Cognos does this even when rendering to Excel 2007 for backward compatibility.

As noted in the article, a workaround is to render as CSV and then open in Excel.

http://www-01.ibm.com/support/docview.wss?uid=swg21419957
Title: Re: Maximum number of rows in an excel
Post by: paulym on 13 Jun 2012 12:25:31 PM
The article listed in the prior note refers to Cognos 8.  Does Cognos 10 still only allow 65,000 rows per worksheet?  Can this be changed to allow Excel 2007 row limits in Cognos 10?

Thank you.
Title: Re: Maximum number of rows in an excel
Post by: Lynn on 13 Jun 2012 12:36:58 PM
The link I posted lists applicable software versions as 8.3, 8.4, 8.4.1, 10.1

I am using Cognos 10 and the behavior is just as described. It splits data across worksheets at the 65K row mark.

Maybe someone on the admin side would know if there is any setting change to control it.