SSRS BIDS expression Show/Hide image based on passed through parameter
-
27-10-2019 - |
Question
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
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow