Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Report Builder 3 - Color Scale Fill for datafields
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

United Kingdom
2 Posts

Posted - 03/14/2014 :  09:10:19  Show Profile  Reply with Quote
I'm fairly new to Report Builder so I hope you'll be patient with me!

In Excel It's quite easy, using conditional formatting, to apply a color scale fill for a column of values where the smallest value for example is colored in red graduating up to green for the highest value, with varying shades of red, orange, yellow and green in between depending on the value. My question therefore please is, can a similar method be applied to a data column in Report Builder?

Thanks very much in advance for your help.

Posting Yak Master

249 Posts

Posted - 03/20/2014 :  16:34:52  Show Profile  Reply with Quote
Not that fancy but you still can use some functions to set this.
=IIF(RowNumber(Nothing) Mod 2, "White", "Lightblue") is for alternative background color setting but the key is IIF() function. Go to the cell and find Fill, open Expression button and type

=IIF(your calculation on numbers formula, "red", IIF(formula, "green", "blue")) ...

you can embed more IIF() ...
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000