Reporting Services - hide table column based upon report parameter

后端 未结 8 1366
旧时难觅i
旧时难觅i 2021-01-04 13:45

I have a report in Reporting Services 2005, and I want to hide or show a single table column based upon a report parameter. Does anyone have any idea how to do that?

<
8条回答
  •  既然无缘
    2021-01-04 14:18

    Set the Visibility for the column to an expression which will return true or false. This property can be found on in the Visibility tab on a TextBox for example.

    Click the radio option for Expression and then your expression might look like

    =Parameters!ShowColumn.Value
    

提交回复
热议问题