views:

659

answers:

1

I'm trying to change the background color of single cell be based on a string value and wanted to see this expression code.

I was reading a similar question here, but this is not the exact same issue I'm trying to solve.

+1  A: 

If you are passing along the name of the color you want to use as a string, then just refer to that column in your expression:

Example Query:

SELECT 'Green' as BG_Color

BackgroundColor Expression:

=Fields!BG_Color.Value
Erick B