Translate

Conditional Blocks in Cognos Report Studio

1. Create a report with '3' different layouts as shown below
 

2. Create a Value Prompt as shown below and click on Finish
 

3. Create following Static Choices


4. Create a Default Selection as Column


5. Open Conditional Explorer and create a String Variable as shown

6. Create variable values as shown


7.  Go back to Report Page and drag a Conditional Block  to the top of the layouts. Select the conditional block and assign Block Variable to it


8. Click on Current Block and select Column --> Copy Column Chart and Paste it on the block


Similarly, do it for the static choices: Pie, Line and All > Run the report and select prompt values one by one to see how the report layouts are dynamically changed.

No comments: