suppose a value prompt contains 100 values and i want to
select all values in that prompt....i want ALL option in
the value prompt? how can u keep this option in value
prompt?

Answer Posted / hannah

To create an All static choice in the Year parameter follow below steps:

1. Create a Static Choice with Use value as 1 and Display value as All.
2. Create a query for the prompt with the following definition
[Year] <= {year(getdate())}

Run the report and your report works as if all the years were selected.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Re: hi,dis is Hari.I'm searhing on cognos.1 want realtime scenarios with solutions.persons having hands on experience in real time plz help me out. my mail-id is shankerhari17@yahoo.com, hope u will respond as soon as possible. thank u in advance

1660


Can you explain model durability?

586


in u r data u having duplicates how to fetch the latest data in our report?

4608


Name the types of gateway?

595


What actually a project contains?

642






Can you define transformer?

518


Can you define query studio?

564


what are the dimensions that you have in your current project?list them?

1633


How to publish a package by running Java Script?

1595


--------------Diff b/w ODS and OLAP?

2752


What is Online View?

1566


Can you define a datastore in cognos?

602


What is the use of Cognos scenario?

720


hi friends pls forward impropmtu interview question

1684


What is the diff between the following Report output-- HTML O/P, PDF O/P, EXCEL 2000 and EXCEL 2003 of report outputs? Listout main differences?

1608