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

#promptmany macro for multiple date selection

Started by Subz, 29 Jan 2018 07:46:48 AM

Previous topic - Next topic

Subz

Hello Cognos Experts  :)

acutally I´m using  a prompt macro to filter a date. It is the following syntax:


where DUEDATE = #prompt('p_DUEDATE','date','current_date','','[Business Model].[p_DUEDATE]','')#


Now we want to filter multiple Dates. I thought I only have to change #prompt  to #promptmany and the "=" to "in" to make it work. But it doesnt work....  :(

The new (wrong) Syntax is:


where DUEDATE in #promptmany('p_DUEDATE','date','current_date','','[Business Model].[p_DUEDATE]','')#

The error is: expected syntax: "[", "??(", "*", "+", "-", ".", "/", "||"



Does anyone know what I´m doing wrong?

Thx alot :)

Francis aka khayman