If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Splitting One query item in two data item

Started by BiliBoy, 30 Aug 2013 08:29:05 AM

Previous topic - Next topic

BiliBoy

Hi

I have one query item which has a flag.  This Flag produce Y or N value. How can i convert 'Y' in first data item and 'N' in second data item. I do not want use  detail filter  in order to achieve this.  Any expert willing to share their wealth of knowledge  for me.

Lynn

For the Y data item try this:


case [YourFlagItem] when 'Y' then 'Y' else null end


For the N data item try this:


case [YourFlagItem] when 'N' then 'N' else null end