Every 300th Row has Corrupt or Merged Cell Values When an Analysis is Exported to Excel

APPLIES TO: 

Business Intelligence Server Enterprise Edition - Version 11.1.1.7.131017 and later
Information in this document applies to any platform.

SYMPTOMS

In Column Properties -> Column Format tab -> Value Suppression,you checked Suppress,

and export the analysis to Excel. But every 300th row of the export contains corrupt  or merged cells.

This is happens in both Excel 2003 and Excel 2007.

 

CAUSE

According to unpublished bugs:

  • Bug 18454210 - BLANK CELLS FOR EVERY 300 ROWS IN A DOWNLOADED EXCEL FILE FOR A SINGLE REPORT
  • Bug 17644375 - THE COLUMN IS MERGED INTO THE 300 LINE-BY-LINE WHEN DOWNLOADING TO EXCEL

This is expected behavior as the BI Publisher renders the Excel data in chunks, and the default chunk size is 299 rows.

While exporting from BI presentation service, the number of rows to keep in memory follows above chunk size.

SOLUTION

Please use any of the following workarounds:

  1. Add parameter RowsInWindowedMode to instanceconfig.xml, increase its default value (300) same as DefaultRowsDisplayedInDownload and restart OBIEE.
    For example:
     <GridViews>
     <RowsInWindowedMode>2500</RowsInWindowedMode>
     </GridViews>
     
  2. Edit analysis -> Column Properties -> Column Format tab -> Value Suppression, check Repeat.
系统的chunks size的参数RowsInWindowedMode的默认值299行,Presentation Service会按(RowsInWindowedMode + 1=)300来描绘,这样就在导出excel时,就会每300行一分隔。 

那么这个问题的对应方法是,适当的调整(增大)instanceconfig.xml的RowsInWindowedMode参数,或者按[Edit analysis -> Column Properties -> Column Format tab -> Value Suppression, check Repeat.]的方式修改报表。 

补充:当您修改RowsInWindowedMode参数时,推荐和DefaultRowsDisplayedInDownload的大小一致。另外如果RowsInWindowedMode的值设定的过大的话,可能会造成内存的浪费并且导出excel生成的临时文件会过大,这一点一定要留意。 


BIEE12C:

<Views>
<GridViews>
<RowsInWindowedMode>2500</RowsInWindowedMode>
</GridViews>
</Views>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值