SSRS BIDS expression Show/Hide image based on passed through parameter

JsonStatham picture JsonStatham · Feb 17, 2012 · Viewed 8.9k times · Source

Is it possible to have an image available if a certain field is selected, in this case the parameter is @employeename, I only want the image that has been placed on the report to display if a certain value is true.

What is the syntax, field i am concerned with is employeename

enter image description here

Answer

Yuck picture Yuck · Feb 17, 2012

The expression would be something like:

=IIf(Fields!employeename.Value = "Something", True, False)

You can have "Something" be a hard-coded value or another parameter. The key thing to remember is you have to access the .Value property.