COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: damienm on 09 Oct 2008 11:01:34 PM

Title: Conditional Detail Filter
Post by: damienm on 09 Oct 2008 11:01:34 PM
Dear All,
Currently I have detail filtered a report based only on a field in the report OCD > 30, what I need to do now is apply some criteria to this and unsure of the formula.

Report format is as follows

Brand-------------OCD Days------------Inventory
X                          35                          15000
B                         105                          5000

I want to filter and show only based on brand and OCD Days, basically for brand X OCD days > 90 and brand B >30 OCD days. How would I go about this, I am thinking IF statements but no idea how to write it, IF brand = X and OCD days > 90, otherwise >30...........??????????????

Any help would be gratefully appreciated!


Title: Re: Conditional Detail Filter
Post by: billylodz on 10 Oct 2008 01:11:37 AM
(brand=x and days>90) or (brand<>x and days>30)
Title: Re: Conditional Detail Filter
Post by: damienm on 30 Oct 2008 04:59:15 PM
So how would you construct this, in a detail filter on brand or days OCD, sorry I am new to this and just finding my feet!

Thanks for your help!