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?

Answers were Sorted based on User's Feedback



suppose a value prompt contains 100 values and i want to select all values in that prompt....i wan..

Answer / vij

hi Vijay,


In your value prompt add the static chioce as 'All'
and in filter put the expression as....

(column in (?Parameter1?)) or (?Parameter1?='All')


hope this may help u :)
vij

Is This Answer Correct ?    16 Yes 6 No

suppose a value prompt contains 100 values and i want to select all values in that prompt....i wan..

Answer / thanjairajan@gmail.com

Hi Everybody, This is very simple.don't have any calculation to solve this question.

1.Drag any one of the data container to the work area.

2.Adding data item to the container

3.Create prompt page

4.When we Add value prompt to the prompt page. we create parameter then select package item, and then when we select operator we will see more operator like =,<,>,<=,>=,in,not in, in_range. in that operator we should select in_range operator.

5.After that we do normal procedure .

6.when we run the report, If the value prompt contain 100 numerical values, we should select 1 in From drop down box and select 100 in To drop down box. If the value prompt contain char type .that is it may contain product name,select first product name in From drop down box then select last product name in To drop down box.

7.Finally in report output we will see all values in value value prompt instead of particular value.

Is This Answer Correct ?    1 Yes 0 No

suppose a value prompt contains 100 values and i want to select all values in that prompt....i wan..

Answer / 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

suppose a value prompt contains 100 values and i want to select all values in that prompt....i wan..

Answer / gnani

As per my knowledge.. using static choices u can acheive
this.
i.e. u have to add add value and display value for value
prompt with ALL.

Is This Answer Correct ?    2 Yes 8 No

suppose a value prompt contains 100 values and i want to select all values in that prompt....i wan..

Answer / varma

As per my knowledge.you can use render variable.for example
if u want to select product number from the list.go to
prompt page and select 1 value prompt.enter a
parameter.don't create
any parameterized filter and query.
just enter static choice as All.create a string variable and
assign the parameter to the string variable. add the value
as All.
select product number from the list with the list column
from the property pane.
assign the render variable All to the list.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Cognos Interview Questions

what is model and how to create model and how to test model?

8 Answers   IBM,


can we insert list report in corsstab report?

1 Answers   JPMorgan Chase,


wt is scope relationship?

2 Answers  


WHAT ARE THE TYPES OF LIST REPORTS?

4 Answers   Patni,


Explain about Parametermap?

1 Answers  






If we are migrating lower version of Cognos reports (e.g. from Ver 7.0 to Cognos 8) then how we migrate Impromptu Catalog (ver 7.0) in Cognos 8? Do we create FM model for that? Please explain.

0 Answers   Wipro,


In my Report C-id c-name Revenue are the query items I need to display the report has Alternative colors for rows and Revenue >=1000 has display in another color? i.e Both c-id,c-name are applying the alternative color(red,yellow) condition and revenue (blue) u think..How its possible? Iam doing for alternative colors i defined Two dataitems as running-count and Mod... and next in Boolean varaible define as [Query1].[Data Item2] = 1 or 0 and [Query1].[Revenue]>=1000 as like this (it's correct or not) and define in condition explorer yes and no purpose two colors(here how to define 4 revenue color) By selecting the list columns body style its applying only the Body and run report it working only for alternative colors Next i defined by using same Boolean condition for revenue like this. For selecting only the Revenue Body and define as yes 4 one color and no for another color? But here it the revenue column also applying only the alternative color condition and it's taking the >=1000 condition... So,i need to display 2 columns have alternative colors and 3rd column >=1000 cell have another color any body pls give me the replay/answer in step wise..... Thank u Basha

0 Answers   TCS,


What are the roles defined by cognos platform?

0 Answers  


my table having data like this year month revenue 2011 jan 100 2011 feb 200 2011 mar 150 like this i want My report 2011 jan 100 2011 feb 100+200=300 2011 mar 300+150=450 like this for this where we specify the condition how will specify? pls ans me pls...

1 Answers  


im having null data in one of the cell in my report i have to display as "no data" when u run the report how can i achive this problem?

6 Answers   IBM,


----------------------What are the User Securities?

0 Answers   IBM,


Write a SQL query which should fetch the 5th maximum salary of an employee from the table?

14 Answers   HCL,


Categories