O'Reilly logo

SQL Server 2012 Reporting Services Blueprints by Mickey Stuewe, Marlon Ribunal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting the bar color conditionally

Aside from the common formatting that we've already seen in the previous chapters, you may notice that our report here has different bar colors (blue, red, and green).

  • Red: It shows the least earning
  • Green: It shows the biggest earning
  • Blue: It shows the earning between the minimum and maximum

For accomplishing this, select the bar and right-click on it to display its context menu. From the context menu select Series Properties.

Setting the bar color conditionally

When the Series Properties dialog box is displayed, select the Fill tab. On the Pick Color section of the dialog box, click on the expression button next to the Color drop-down list, and enter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required