COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: zgeorge on 22 Apr 2019 08:18:59 AM

Title: Filtering out on multiple measures
Post by: zgeorge on 22 Apr 2019 08:18:59 AM
Hello Cognos Masters,

How can I filter out measures based on multiple values. What I'd like to do is filter out a row in a list IF all measures are either null or 0(Against a relational model). So something like this ...

([Measure1] AND [Measure2] AND [Measure3]) <> null

This logic does not work in a detail filter, it errors out and doesn't like the 'AND'.

Title: Re: Filtering out on multiple measures
Post by: adam_mc on 22 Apr 2019 08:57:33 AM
Something like...

[Measure1] is not null AND
[Measure2] is not null AND
[Measure3] is not null