COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: lebronjames on 13 Feb 2009 01:32:42 PM

Title: Customizing Prompts
Post by: lebronjames on 13 Feb 2009 01:32:42 PM
Hi,
i have a prompt that has month values in it. It displays all the months and at the top...it has the name of my data Item (Month Code). When I click on it, the resulting list becomes the sum of all months.

This is exactly what I want but I want to change the name of that value to "All Months". So when I click on this it should show the sum of all months.

Any ideas??? Thanks
Title: Re: Customizing Prompts
Post by: crn.siva on 16 Feb 2009 03:05:53 AM
Hi,

I think it is solved by creating static choice. Try this way.

Title: Re: Customizing Prompts
Post by: Rajaggopal on 16 Feb 2009 08:30:28 PM
Yes, it can be achieved using static choice... Add a static choice with some use value and display value as "All Months", and in the prompt filter add condition something similar to this...

QuoteIF (?ParamMonth? = 0)
THEN( [Month] = [Month])
ELSE( [Month] = ?ParamMonth?)

where