Search code examples
visual-studio-2010reporting-servicesssrs-2008ssrs-2012

SSRS: visibilty of rectangle based on value


I am trying to hide a rectangle in the report, I want to control the visibility of the rectangle based on the Field!Column.Value. But in order to set the visibility condition I need to link the rectangle to the data set. Can we link a data set to a rectangle?

I have multiple data sets in the report.

Thanks in advance !


Solution

  • It should work if you go to Rectangle Properties -> Visibility -> Show or hide based on an expression [fx]

    IIF(Fields!SomeField.Value="YourValue", False, True)