COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: Subz on 29 Jan 2018 07:46:48 AM

Title: #promptmany macro for multiple date selection
Post by: Subz on 29 Jan 2018 07:46:48 AM
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 :)
Title: Re: #promptmany macro for multiple date selection
Post by: Francis aka khayman on 27 Aug 2018 10:46:51 AM
DUEDATE in (#promptmany(xxxxx)#)