ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Data Warehouse  >>  Cognos
 
 


 

 
 Teradata interview questions  Teradata Interview Questions
 Business Objects interview questions  Business Objects Interview Questions
 Cognos interview questions  Cognos Interview Questions
 Informatica interview questions  Informatica Interview Questions
 Crystal Enterprise Suite interview questions  Crystal Enterprise Suite Interview Questions
 Actuate interview questions  Actuate Interview Questions
 Ab Initio interview questions  Ab Initio Interview Questions
 Data Stage interview questions  Data Stage Interview Questions
 SAS interview questions  SAS Interview Questions
 Micro Strategy interview questions  Micro Strategy Interview Questions
 ETL interview questions  ETL Interview Questions
 Data Warehouse General interview questions  Data Warehouse General Interview Questions
Question
What is Conditional block? How do you use in a report?
 Question Submitted By :: Vinod
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Conditional block? How do you use in a report?
Answer
# 1
Conditional block: Specify a variable based on which 
objects inserted into a 
block can be conditionally rendered.
for example user can have option for List report or chart 
report when he runs the report.
Try this out........
CONDITIONAL BLOCKS
The goal of this report is to prompt users on which display 
they would prefer, a list or a chart.
To start, create a simple list report in Report Studio. 
Using the Cognos sample data, product line, order method 
and revenue are added to the list. From the toolbox, drag 
and place a pie chart below the list. Select the chart and 
in the properties pane, attach this chart to query 1:
 
 
 
 
Now the chart can be populated from the data items tab.
 
 
 
 
The consumers of this report need the ability to choose 
between the displays they want to see. To accomplish this, 
build a blank prompt page allowing them to select from a 
drop down list either list or chart. Drag a value prompt to 
the prompt page with the following settings:
 
 
 
At this point hit ‘Finish”. The dropdown list has to be 
populated manually though the static choices property of 
the value prompt. The two choices added are list and chart.
 
 
 
 
 
*You can leave the display value blank. If you do so, 
Report Studio is smart enough that it will take the use 
value for the display value.
Now that my prompt page is set, return to the Report Page. 
In order to conditionally display an object, use the 
conditional blocks object in the toolbox. Drag this to the 
bottom of the report.
 
 
 
 
The next step is to attach the variable to the conditional 
blocks block variable property. This variable is a Boolean 
variable that either equals a list or doesn’t.
 
 
 
 
 
 
 
 
We need to test if our parameter is equal to the 
value ‘List’. If the user selected List this expression 
will evaluate to true, if the user selected ‘Chart’ from 
the prompt, then this will evaluate to false.
After this step is completed there is a new property on the 
conditional blocks object that tell us which block we are 
currently looking at. First, drag the chart into the ‘No’ 
block.
 
 
 
 
 
Now, select the conditional block again, and switch the 
current block property to ‘Yes’. The conditional blocks 
object appears empty because there is currently nothing in 
the ‘Yes’ block.
 
 
 
The final step is to drag the entire list inside the ‘Yes’ 
block.
 
 
 
Now when the report is run, the user will be prompted for 
their display of choice.
 
Is This Answer Correct ?    0 Yes 0 No
Khushbu
 

 
 
 
Other Cognos Interview Questions
 
  Question Asked @ Answers
 
hi,dis is kumari.I'm searhing on cognos.1 want realtime scenarios with solutions.persons having hands on experience in real time plz help me out. my mail-id is vicky_ceti@yahoo.co.in hope u will respond as soon as possible. thank u in advance IBM8
What is RenderVariable?  2
What is IQD?What is contained in IQD? How you create IQD In ReportNet FrameWork?  2
How to create users and permissions in cognos?  3
How do we implement Check Box Prompt in COgnos Report Studio?  1
What are the different ways of adding data in Transformer?  1
how you create security to cubes ????? iGate3
How to connect three fact tables? TCS8
what are ERP systems?  1
pls any body give the cognos 8 versions release year.  3
what is an outer join? difference between left outer join right outer join with an example? HCL1
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?  2
Can we create a web page where the report directory and the output can be viewed directly across cognos connection? TCS1
How to crate cubes in transformer ?  3
-------------How to do Bursting a Report? Cap-Gemini1
1.How can we driil through from a page report having query1 to list report having Query2 in master detail relationship n Drill through? 2.In database i have 50 records but when it is displayed on the report i'm getting 100 record with duplictes.How can we solve this to eliminate duplicates? 3.Exact Diff B/W Filter n Condition? 4.Render Variable? 5.I have leftouter join when right table does not have any matched records with left table what will be the output of the report whether it will be dispalying Null or blank in that particular row? 6.How to test the reports i.e Unit Testing? 7.How canwe drill through when there is no common column between the parent n child report? 8.How can we do performance tuning? I kindly request all the experts to give reply with correct answers and if possible send me some examples regarding that at srini.madhala@gmail.com IBM1
what is meaning by Master detailed relationship ? please explain one example  2
cognos is holap or molap or rolap Cognizent7
What is difference between drill through and drill down?  4
How can we publish package to QA environment not cognos connection?(if we have two URL one cognos connection and qa environment how can we publish package to qa?)Please anybody give me the answer. TCS4
 
For more Cognos Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com