Can anybody please tell me how to use MOD in cognos report studio expression
mod([someindex],2)
yields:
index result
1 1
2 0
3 1
4 0
5 1
..
..
117 1
118 0
Get the picture?
Yes i have tried this but it throws up an error when i run the report
Hi,
We have used mod function to show alternate backgorund colors in HTML(list/crosstab) formats.
Expression is mod(runningcount(),2) , this is defined in boolean variable and list body is rendered accordingly.
Regards,
Naveen
I'm sorry...i messed up the date part in the mod..its working... thanks guys
Cheers:)