COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: Arsenal on 17 Oct 2007 10:43:35 AM

Title: (RS&FM) Issue with Calculated text field
Post by: Arsenal on 17 Oct 2007 10:43:35 AM
Hi all,

In FM, I'm adding a calculated query item which takes codes and converts it to text

So, it's basically:

case

when code = '00001' then ('A')
When Code = '00002' then ('B')

and so on

Problem is, when a filter is set as an optional prompt for this query item in RS, I keep getting a sql error...but if I just add this to the report body without the filter, it works fine.

Any ideas? Thanks