Question

Facing a trouble in Cognos 10, in my report I have to apply conditional formatting for values less than zero (except zero) as red, for which I am also applying round-off to zero decimals. Now the problem is values like -0.1 are getting rounded-off to 0, but also shown in red due to conditional formatting.

Is there any work around to show the rounded zero values in black?

Was it helpful?

Solution

Try rounding off the value on your condition on conditional style too. Like these:

round(([ColumnValue]*100),0) < 0

then set the foreground color or background color to red. Hope it helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top