SSRS 可见性隐藏 IIF(Globals!RenderFormat.Name = "EXCEL", True, False) 在文本框上不起作用

SSRS Visibility Hidden IIF(Globals!RenderFormat.Name = "EXCEL", True, False) doesn't work on text boxes

我有一份报告,使我能够使用以下方法隐藏列 headers:

IIF(Globals!RenderFormat.Name = "EXCEL", True, False)

但它不适用于使用类似公式的文本框:

IIF(Globals!RenderFormat.Name = "RPL", True, False)

我是否遗漏了一些其他步骤来隐藏文本框不在报表服务器上显示,但允许它们在导出到 Excel 时显示?

尝试:

=IIF(Globals!RenderFormat.IsInteractive, True, False)

或简单地设置为:

=Globals!RenderFormat.IsInteractive

如果有帮助请告诉我。