COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: pradeepbi25 on 28 Oct 2014 08:13:28 AM

Title: Default value for Value prompt using a Query Item
Post by: pradeepbi25 on 28 Oct 2014 08:13:28 AM
Hi,

I have a value prompt in the report page itself(no prompt page). I need to give this value prompt a default value using query Item.
For example, I have drop down which populates country names using [Country] and I need this value prompt to have default value from [My Country].

I tried macro function in filter as below.
[Country] = #prompt ('param_country','token','[My Country]')#

Thanks,
Pradeep