COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: babu babu on 12 Nov 2009 06:14:32 AM

Title: Supressing '0' in cognos viewer
Post by: babu babu on 12 Nov 2009 06:14:32 AM
Hi All,
Is there any possibility to supress '0' in cognos viewer when we run the report in HTML format.

Thanks & Regards,
Babu.
Title: Re: Supressing '0' in cognos viewer
Post by: Sreeni P on 14 Nov 2009 03:18:11 AM
U can't do it on cognos viewer,neither in report, check this with ur model, or else prepare one condition in the report , in condition check the value that is getting from the model, and hard code it with ur value.
Title: Re: Supressing '0' in cognos viewer
Post by: CognosPaul on 15 Nov 2009 08:06:51 AM
You should be able to do this. Under Properties -> Data Format, for any numeric or date format, there is a setting called "Zero Value Characters". If the value of that field is 0 it will replace it with what you put in. There is also a "Missing Value Characters" to replace null data.
Title: Re: Supressing '0' in cognos viewer
Post by: jahnavi on 16 Nov 2009 02:14:32 AM
As I know you cant do it in cognos viewer. You can acheive this by adding filter the queries