Reporting Services - hide table column based upon report parameter

后端 未结 8 1330
旧时难觅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:25

    Use the visibility property of the column. This worked for me.

    =iif(Parameters!ParameterName.Value = "TextValueOfTheParameter",False,True)
    

提交回复
热议问题