i have 4 countries in my database as USA, UK, INDIA, CHANA.
In value prompt's prompt control list, i want
WESTERN_COUNTRIES, ASIAN_COUNTRIES instead of those country
names.
When i click on WESTERN_COUNTRIES, it should retrieve USA,
UK records and when i click on ASIAN_COUNTRIES, it should
retrieve INDIA, CHINA records.
How is it possible?

Answers were Sorted based on User's Feedback



i have 4 countries in my database as USA, UK, INDIA, CHANA. In value prompt's prompt control l..

Answer / itesh

simple man ,
create country prompt with 2 dynamic prompt value dispay
value WESTERN_COUNTRIES>use vale (1)ASIAN_COUNTRIES (2)

in report query put filter

write a if statement
if (?country?)=1
then country in (USA,UK)
else country in (INDIA, CHINA)

cheers

Is This Answer Correct ?    9 Yes 3 No

i have 4 countries in my database as USA, UK, INDIA, CHANA. In value prompt's prompt control l..

Answer / gajendra kumar

Just add static choices to value parameter as WESTERN_COUNTRIES, ASIAN_COUNTRIES. In report query add the filter (?parameter? = 'WESTERN_COUNTRIES' and [Dataitem] in ('USA', 'UK'))
or
(?parameter? = 'ASIAN_COUNTRIES' and [Dataitem] in ('INDIA', 'CHINA'))

Is This Answer Correct ?    2 Yes 0 No

i have 4 countries in my database as USA, UK, INDIA, CHANA. In value prompt's prompt control l..

Answer / beckham

Use a customized data item in a query.this query is the
source query for the region prompt.Make sure the customized
data item is used in main query and filterd accordingly.

Is This Answer Correct ?    4 Yes 5 No

i have 4 countries in my database as USA, UK, INDIA, CHANA. In value prompt's prompt control l..

Answer / vishnu

Use Cascading Prompt

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More Cognos Interview Questions

can we create master detail report where master and detailed container is separate?

2 Answers   JPMorgan Chase,


hi friends pls forward impropmtu interview question

0 Answers  


If anybody need certification dumps like COG-112 COG-122 COG-132 THEN MAIL ME ON kris.bi121@gmail.com.all are latest dumps test taken on july-09

42 Answers  


what is the use of layout component reference

3 Answers   Satyam,


I have a reports on cognos ep7series version3 with database SQl2000.Now i am migrating database SQL2000 to SQL2005.Then What happens to cognos reports and also there is reports cubes then how can i handle this problem please give me step by step solution b'coz i am new to cognos ep7series

0 Answers   Infosys,






-------------What is Coditional Prompting?

0 Answers   IBM,


What is namespace and what it holds?

7 Answers   IBM,


what is the difference between list sequel and cross tab sequel?

2 Answers  


HI, If anybody is having C2020-625 - IBM Cognos 10 BI Data Warehouse Developer, kindly send the same to shiju.rajs@gmail.com. Thanks

0 Answers  


What is architectue of Cognos 8

4 Answers  


what is the use of layout calculation?

4 Answers  


What is metric store database?

0 Answers  


Categories