0
我试图添加一个过滤器到报告。我认为这会给我所有的记录,当选择“全部”,因为过滤器不会生效,如果它没有=“全部”,那么它会启动过滤器。'全部'过滤器报告导致错误'[BC30516]超载解析失败“
=iif(Parameters!vType.Value <> "All", iif(Parameters!vType.Value = "Red", "Red", iif(Parameters!vType.Value = "Green", "Green", "Yellow")))
我认为这会工作,但我得到这个消息:
The FilterValue expression for the dataset "Dashboard_Test' contains an error: [BC30516] Overload resolution failed because no accessible 'Iif' accepts this number of arguments.
我检查了逗号,括号,等,看不出什么毛病。谁能告诉我这个消息的含义是什么?
这帮了很大忙。感谢您的建议 – Shaves