How do I set the visibility of a text box in SSRS using an expression?

前端 未结 8 1493
醉酒成梦
醉酒成梦 2020-12-10 10:04

I have a subtotal field for a calculated column that I want to hide when my report has not ran yet because on days with no data it shows up as NaN on the report

8条回答
  •  鱼传尺愫
    2020-12-10 10:57

    Twood, Visibility expression is the expressions you write on how you want the "visibility" to behave. So, if you would want to hide or show the textbox, you want to write this:

    =IIf((CountRows("ScannerStatisticsData")=0),True,False)
    

    This means, if the dataset is 0, you want to hide the textbox.

提交回复
热议问题