CHAPTER 5 IMPLEMENTING DASHBOARD STYLE REPORT OBJECTS
Listing 5-6 shows a section of the RDL file for the Sparkline control.
Listing 5-6. RDL Sparkline
The completed report for the Sparkline is called Sparkline.rdl in the Pro_SSRS solution.
Implementing an Indicator
In Reporting Services 2005 and 2008, we could create the functionality that we see in reports containing
KPI’s. However, it took a little creativity in the use of expressions. For example, if you wanted to show an
image based on a certain value in a result set, you would need to set the visibility of each of the images to
be based on an expression. That approach is not too difficult to implement, but it is a more difficult to
maintain. In 2008 R2, we were provided this functionality right out of the box with the Indicator report
item.
Often times, the consumers of our reports like to see a visual indicator as to the trend in a basic
directional fashion. For example, one may want to see if the total visits were higher than last month, the