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

What is a Transformer?

0 Answers  


Tell me about Schemas?

4 Answers  


what is the automation tool used for data warehouse testing???

3 Answers   Covansys, IBM, Wipro,


What is main difference mapplets and mapping?

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  






Can you define report item?

0 Answers  


hi this is bhaskar iam working in Tcs u want any real time faqs send me your qs i will ans that qs ok this is my id bhaskarparitala.rao@gmail.com

0 Answers  


what is symmetric key?where do u use this?

1 Answers  


what is the use of lock and unlock

1 Answers  


1.how do nyou configure link between fwm and database (source).if you created fwm where it will be? and if you create reports where it is stored? 2.what is spic shot in fwm?

1 Answers   CTS,


What is Merging, Segments and porting in Framwork Manager?

3 Answers   Nike,


how many types of formats you can run a report using cognos?

4 Answers   HCL,


Categories