none
ssrs hide rectangle box RRS feed

  • Question

  • Hi. I'm trying to hide / show a rectangle that has info in it based on two parameter. So, for example:

    if param 1 < param 2

    then show rectangle

    else hide rectangle

    Thanks,

    Monday, October 3, 2011 6:36 PM

Answers

  • Right-click on the rectangle, select properties and under visibility, select expression and type the following:

    =IIF(Parameters!Param1.Value < Parameters!Param2.Value, FALSE, TRUE)

    • Marked as answer by iron-man99 Monday, October 3, 2011 7:03 PM
    Monday, October 3, 2011 6:53 PM
    Moderator

All replies

  • Right-click on the rectangle, select properties and under visibility, select expression and type the following:

    =IIF(Parameters!Param1.Value < Parameters!Param2.Value, FALSE, TRUE)

    • Marked as answer by iron-man99 Monday, October 3, 2011 7:03 PM
    Monday, October 3, 2011 6:53 PM
    Moderator
  • awesome!
    Monday, October 3, 2011 7:03 PM