COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: KANUL on 26 Jun 2009 05:36:06 AM

Title: Report studio filter query-Help
Post by: KANUL on 26 Jun 2009 05:36:06 AM
Please help me out in applying this filter for Query in Report studio:-

case when ?Local\Import?='Local' then [PAID LOGIC SCHEMA].[DIM_SUPPLIER_FOR_DM_PAID].[Country]='IND'
else [PAID LOGIC SCHEMA].[DIM_SUPPLIER_FOR_DM_PAID].[Country]<>'IND'
end

Thank You
Title: Re: Report studio filter query-Help
Post by: KANUL on 26 Jun 2009 06:50:15 AM
Hey it worked.... ::)

if (?Local\Import?='Local') then
( [PAID LOGIC SCHEMA].[DIM_SUPPLIER_FOR_DM_PAID].[Country]='IND')
else ( [PAID LOGIC SCHEMA].[DIM_SUPPLIER_FOR_DM_PAID].[Country]<>'IND')