COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Query Studio => Topic started by: Kanag on 01 Jun 2011 06:28:10 AM

Title: Filters in Query studio
Post by: Kanag on 01 Jun 2011 06:28:10 AM
Hi Guys,
               I have a filter which should filter out a columns based on the given text.

For eg:
          I have a column which gives many values like "Untitled","Processed" etc

When I enter the text as "untitled", only the values "Untitled" ( only with uppercase 'U') are being listed out but not the ones which start with lower case 'u'

Any solution for the above?/??...

Thanks,
KR
Title: Re: Filters in Query studio
Post by: RobsWalker68 on 01 Jun 2011 08:47:19 AM
Hi,

In your filter apply the Upper function to your given column value.  This will convert all values to Uppercase for you.

Rgds

Rob

Title: Re: Filters in Query studio
Post by: Lynn on 01 Jun 2011 10:42:11 AM
Not sure you can use an upper function in Query Studio, but you could in Report Studio. In QS I think you could try a couple different options:

Title: Re: Filters in Query studio
Post by: RobsWalker68 on 01 Jun 2011 10:53:06 AM
Ah Yes...  my mistake I didn't read the question properly 

Forget my bit and do as the Lady says instead  :D



Title: Re: Filters in Query studio
Post by: Lynn on 01 Jun 2011 10:56:55 AM
Quote from: RobsWalker68 on 01 Jun 2011 10:53:06 AM
Ah Yes...  my mistake I didn't read the question properly 

Forget my bit and do as the Lady says instead  :D

You are slipping Rob!! Better straighten up and fly right before Paul or the muppet get after you with harsh words  ;D
Title: Re: Filters in Query studio
Post by: RobsWalker68 on 01 Jun 2011 10:58:56 AM
Funnily enough it is 3 minutes to five and the Pub is calling so I will make my escape while I can !!

Title: Re: Filters in Query studio
Post by: Kanag on 01 Jun 2011 11:48:26 PM
Hi all,
        Thanks a lot!

Rgds,
KR
Title: Re: Filters in Query studio
Post by: MFGF on 02 Jun 2011 04:04:06 AM
Quote from: Lynn on 01 Jun 2011 10:56:55 AM
You are slipping Rob!! Better straighten up and fly right before Paul or the muppet get after you with harsh words  ;D

Honestly!  What kind of people do you take us for?  Us boys stick together.  I would never use harsh words against Rob.  Well, not while I owe him a beer, anyway! ;) ;D
Title: Re: Filters in Query studio
Post by: Lynn on 02 Jun 2011 06:31:14 AM
Quote from: MFGF on 02 Jun 2011 04:04:06 AM
Honestly!  What kind of people do you take us for?  Us boys stick together.  I would never use harsh words against Rob.  Well, not while I owe him a beer, anyway! ;) ;D

The male to female ratio on this forum is 12.3:1 according to the Forum stats page. Seems to me you guys can't help but stick together as you're pretty much everywhere all the time.

I'm certainly hoping that whoever the three tenths of a man is finds his other seven tenths eventually. :o
Title: Re: Filters in Query studio
Post by: MFGF on 02 Jun 2011 07:33:42 AM
Quote from: Lynn on 02 Jun 2011 06:31:14 AM
The male to female ratio on this forum is 12.3:1 according to the Forum stats page. Seems to me you guys can't help but stick together as you're pretty much everywhere all the time.

I'm certainly hoping that whoever the three tenths of a man is finds his other seven tenths eventually. :o

Hee hee. I meant to have a word with the admins about that.  Could it be construed as discriminating that they have a guys/girls ratio but nothing for muppets?  Not a single mention anywhere.  Or maybe they class a muppet as one third male?  If so, perhaps that explains your superfluous three tenths of a man... ulp!  ::)
Title: Re: Filters in Query studio
Post by: RobsWalker68 on 06 Jun 2011 04:30:25 PM
Quote
"Honestly!  What kind of people do you take us for?  Us boys stick together.  I would never use harsh words against Rob.  Well, not while I owe him a beer, anyway"


Ah, good lad looking forward to a free beer  ;D
Title: Re: Filters in Query studio
Post by: MFGF on 16 Jun 2011 11:39:27 AM
Quote from: RobsWalker68 on 06 Jun 2011 04:30:25 PM

Ah, good lad looking forward to a free beer  ;D

I will be up your way again very soon.  I will drop you a line and set it up! :)  Just don't tell Lynn because she likes beer and will be very cross with us for drinking it without her! ;)
Title: Re: Filters in Query studio
Post by: Lynn on 16 Jun 2011 02:03:08 PM
Quote from: MFGF on 16 Jun 2011 11:39:27 AM
I will be up your way again very soon.  I will drop you a line and set it up! :)  Just don't tell Lynn because she likes beer and will be very cross with us for drinking it without her! ;)

Disappointed perhaps, but not cross!
Title: Re: Filters in Query studio
Post by: MFGF on 17 Jun 2011 08:23:07 AM
Quote from: Lynn on 16 Jun 2011 02:03:08 PM
Disappointed perhaps, but not cross!

Er... yes.  Disappointed.  That's what I meant, of course! Just a slip of the fingers. Not cross.  No no no. Disappointed. :)  Just thought I'd clear that up in case you got "disappointed" with me! :D