if i have a column where the values are repeated across rows and i want to change the color of the font when the value changes, how do i do this?
+1
A:
You can define an expression for the font color. In Visual Studio/Business Intellligence:
- Select the cell you want to alter the colour of the font in
- Navigate to the Color listing in the Properties, and select it
- Click the Dropdown arrow that appears next to the value it's current set to (typically Black)
- Under the Web tab, select Expression (top of the list) - the Edit Expression dialog will appear
You can use the IIF in combination with the PREVIOUS function to compare values. IE:
=IIF(Fields!Registrations.Value <> Previous(Fields!Registrations.Value), "Black", "Blue")
If true, this expression will colour the font black -- if false, blue.
OMG Ponies
2010-06-22 19:46:12