Showing images dynamically (Traffic Light report)
In first chapter, we created a report under the 'Running Difference' recipe. This report shows the month-on-month difference in sales quantity.
Business wants to give this report a 'dashboard' look by putting Traffic Light images (red, yellow, and green) in each row, based on whether there is rise in sales or fall.
Getting ready
We will use the "Running Difference: negative values in brackets and red" report based on the recipe in Chapter 2 for this.
Open that report in Cognos Report Studio and save a copy with a new name.
Tip
Please note that you will need administrator rights on the Cognos server to complete this recipe. If the server is installed on your personal machine, you will have these rights by default.
For this recipe, we need to first create three icons or images for red, yellow, and green. They should be already available on the Cognos server under
{Cognos Installation}\webcontent\samples\images
folder. If not, then create them using...