COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: Peewee71 on 14 Jun 2011 11:10:15 AM

Title: conditional prompt in sql
Post by: Peewee71 on 14 Jun 2011 11:10:15 AM
Hi,
I have the following conditional prompt in my sql which works well.

trim(custid) in  (#promptmany('CustomerID','string',sq('Not Selected'))#)

I need to extend it so that if CustomerID is null or not set that it includes all customers.
Whats the best way to do this?