Showing images dynamically (traffic light report)
In Chapter 2, Advanced Report Authoring, we created a report in the Formatting negative values 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 a rise in sales or a fall.
Getting ready
We will use the report based on the Formatting negative values recipe in Chapter 2, Advanced Report Authoring for this recipe.
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.
How to do it...
In this recipe, we will use three images (red, yellow, and green) as performance indicators in the report. To do this, perform the following steps:
First we need to create three icons or images...