姜川的blog

博客园 首页 新随笔 联系 订阅 管理
Cognos 8.0 使用基于合计的抑制可以删除整个分析内的行或列,其中总计结果为空值或零值。该
方法有多个限制。有关详细信息,请参阅《Analysis Studio 用户指南》。
在Cognos 8.2 中,默认抑制功能使用基于选择的抑制。您可以选择单个行或单个列,以删除交
叉表的反向轴中只包含空单元格的行或列。
但是,您可以更改回基于合计的抑制的原始Cognos 8.0 功能。
步骤
1. 转到c8_location/configuration 目录。
2. 查找名为ansproperties.xml.sample 的文件,并将其重命名为ansproperties.xml。
3. 打开ansproperties.xml 文件,并查找以下代码:
<structure>
<!-- Enabling the 8.0 Zero Suppression feature will provide compatibility
for existing 8.0 customers -->
<!-- Enabling the 8.0 feature will disable the new capabilities
provided in 8.2 and beyond -->
<!-- The default is disabled. 0 == disabled (recommended).
1 == enabled. -->
<!--<property>Enable8Dot0Suppression</property>
<value type="long">0</value>-->
</structure>
4. 从Enable8Dot0Suppression 属性中删除命令标记(<!--) 和(-->)。
5. 将值从0 更改为1。
6. 保存ansproperties.xml 文件。
7. 重新启动Cognos 8 服务器。
posted on 2009-02-21 10:04  姜川  阅读(372)  评论(0编辑  收藏  举报