COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: sujitgouda on 23 Sep 2014 11:43:59 AM

Title: Filter Amount Range in Cognos
Post by: sujitgouda on 23 Sep 2014 11:43:59 AM
Hi,

I need to filter out Net values between 2000 and -2000 in an Active report.
How do I do that.

it gives me parsing error every time I validate the below expression.

[Sales Reporting Summary (Query)].[Transaction Details].[Transaction Type Rollup] in 'Redemption' and
[Sales Reporting Summary (Query)].[Measures].[Trade Amount YTD] between 2000 and -2000
Title: Re: Filter Amount Range in Cognos
Post by: MFGF on 30 Sep 2014 06:28:54 AM
Quote from: newb2cog on 23 Sep 2014 11:43:59 AM
Hi,

I need to filter out Net values between 2000 and -2000 in an Active report.
How do I do that.

it gives me parsing error every time I validate the below expression.

[Sales Reporting Summary (Query)].[Transaction Details].[Transaction Type Rollup] in 'Redemption' and
[Sales Reporting Summary (Query)].[Measures].[Trade Amount YTD] between 2000 and -2000

Try

[Sales Reporting Summary (Query)].[Transaction Details].[Transaction Type Rollup] in 'Redemption' and
[Sales Reporting Summary (Query)].[Measures].[Trade Amount YTD] between -2000 and 2000

or even

[Sales Reporting Summary (Query)].[Transaction Details].[Transaction Type Rollup] in 'Redemption' and
[Sales Reporting Summary (Query)].[Measures].[Trade Amount YTD] >= -2000 and [Sales Reporting Summary (Query)].[Measures].[Trade Amount YTD] <= 2000

MF.