COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: deepak2k2 on 09 Nov 2010 09:14:08 AM

Title: Replace with 0
Post by: deepak2k2 on 09 Nov 2010 09:14:08 AM
Hi,

In my crosstab, i'm getting one of the values as '\0'.  Because of this not able to do the aggreage function (sum). 

How do I replace '\0' as 0 and do the calculation?
Title: Re: Replace with 0
Post by: deepak2k2 on 09 Nov 2010 09:54:15 AM
In the data format ->Currency -> Any Error Character, i could change from '\0' to 0.  But its not taken in account while doing the sum.

Ex. 10+10+0('\0')=0

How do i fix it?
Title: Re: Replace with 0
Post by: cognos10 on 10 Nov 2010 03:34:02 PM
U can format the column using data format

format type = number
zero value character=0