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

前端 未结 8 1505
醉酒成梦
醉酒成梦 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:42

    This didn't work

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

    but this did and I can't really explain why

    =IIf((CountRows("ScannerStatisticsData") < 1),False,True)
    

    guess SSRS doesn't like equal comparisons as much as less than.

提交回复
热议问题