suppose there are 15 countries like (US, UK,
ENGLAND,INDIA,JAPAN.......)i want a value prompt in the
report and this value prompt should contain groups like
group1(US,UK,ENG), group2(INDIA,US,UK), group3
(ENG,JAPAN,INDIA)and in the value prompt the values should
be group1,group2,group3 how can we do this?

Answer Posted / poorna chandra reddy

Create a data item and in that writ condition like below

if(country in (' US,UK,ENG' , ' INDIA,US,UK'))
then ('Group1')
else if (country in (‘INDIA’,’US’,’UK’)
then ('Group2')
else ('Group3')

Then create value prompt and assign this data item to the
value prompt.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the expiration parameter of 365 in the cognos 8 configuration how to increase common symmetric key lifetime in days

3255


how you provide security to reports? How you provide security to packages ?

746


What is meant by junk dimension?

658


What are the types of studio present in Cognos?

694


What are the different types of important services used in cognos?

673






What are the advantages of shortcuts?

618


Hi All, Is there any way to check whether a value is selected in a Multi-select tree prompt? I have a tree prompt and want to get to know whetehr which values user has selected,i want to so that values on the top of the report. I Have used that paramDisplayValue('paramername'),But it will display only last selected value. For Example i have tree prompt with one level Region- >country->states If user select region Asia it will dislay the all the Countries in that region and then if user select India it will display the states related to india only Suppose Hierachy look like this: Asia->India->Andhra Pradesh. I want to show this hierachy on the top of the report How it is possible? Can you please help me?

1761


what is stitch query in reportnet?

718


What do you understand by ‘ibm predictive maintenance and quality’?

643


What you mean by drill across?

693


What are the components used in web tier?

635


What are all the different types of prompt in cognos?

626


---------------Tell me about DWH Concepts?

1707


How create measures and dimensions?

691


What are all types of Batches?

672