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

how to Explain a complex report at the time of interview ? please post the answer very urgent?

3 Answers   HSBC, IBM, TCS,


if we have a value prompt in a prompt page and if we need to pass that prompt value to a sql used in report, what is the sql code? give me example?

3 Answers   ComNet,


what is the procedure for scheduling conditional rendering?

1 Answers   Syntel,


in which scenario we go for views in cognos or oracle?

1 Answers  


i wanna some client names and project names in cognos? plz send cognos resumes(3+) exp plz plz plz help me??

1 Answers   TCS,


What is Performance Tunning Test?

2 Answers   IBM,


what are the errors faced while bursting the reports and how to solve those errors?

1 Answers   EDS,


how many facts&dimensions tables in project? it's very urgent.........

2 Answers  


using of matric studio we can developed to scorecard ... what is the meaning by scorecords

1 Answers  


what is surrogate key give example?

2 Answers  


------------------What is Inline Query?

1 Answers   Cap Gemini,


What are the types of studio present in Cognos?

1 Answers  


Categories