COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: jmills on 08 Oct 2014 10:20:56 AM

Title: Summary Filter
Post by: jmills on 08 Oct 2014 10:20:56 AM
I have a Security report showing Employees with Multiple Roles, grouped by employee.
ie.   Employee1  Role1
                        Role2
                        Role3
      Employee2  Role1
                        Role2     

I'd like to filter the report to remove all employees who have Role3, however am unable to get the filter working properly.  I'm using a relational data source in Report Studio.

Thanks in advance  :)
Title: Re: Summary Filter
Post by: bdbits on 08 Oct 2014 05:40:08 PM
What is your current filter expression?

Title: Re: Summary Filter
Post by: Francis aka khayman on 08 Oct 2014 08:37:57 PM
very vague statement. do you mean you are getting an error? if so, what is the error?

or are you getting wrong data? again please state how you are doing the filter expression.

Quote from: Jackal on 08 Oct 2014 10:20:56 AMhowever am unable to get the filter working properly
Title: Re: Summary Filter
Post by: bvk.cognoise on 09 Oct 2014 01:38:47 AM
Hi Jackal,

I am not sure about your filter which your using currently but try to filter using  following expression

Role<>3

or Role <> Role 3

please explain your issue in detail again

Regards
bvk
Title: Re: Summary Filter
Post by: jmills on 09 Oct 2014 10:07:45 AM
The filter i'm using indicates [Role] not in (Role3, Role4) and i've set the scope to the Employee.

From my understanding, it should remove the entire Employee Row.  What it actually does is just remove the role from the employee, but not the entire employee row.
Title: Re: Summary Filter
Post by: Rajesh_Vanam on 14 Oct 2014 12:14:36 AM
Try the attched report.


Cheers,
Rajesh Vanam