Reporting Services - hide table column based upon report parameter

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

    For some of my reports I've set the Visibility (Specifically the Hidden property) for the column to:

    =IsNothing(Fields!Site.Value)
    

    Note that this only works if the relevant field can be null in the underlying dataset, otherwise you will see the blank column.

提交回复
热议问题