Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wild Card for Nine Digit Zip Codes in Prompt

Status
Not open for further replies.

wwconslt

Technical User
Jan 9, 2009
2
US
Hello Everyone,

Cognos Analytics v11 (relational data) Question.

I'm trying to create a prompt where the user can enter zip codes they would like to EXCLUDE from the results. Since they will be entering multiple five digit zips, I would like to use a wild card that says to exclude that five digit zip or any nine digit zip beginning with that five digit zip the user provides.

For example if the user enters 90210, I would like it to exclude the results 90210, 90210-0222, etc.

I've tried different versions of these but none seem to work:
[ZIP_CODE] not in '?Excluded_Zip?+%'
[ZIP_CODE] not in Starts With ?Excluded_Zip?

Thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top