【发布时间】:2014-02-24 16:50:26
【问题描述】:
我是 SSRS 的新手,需要一些帮助:是否可以在 iif 语句中嵌套 lookup 表达式?我有一个带有复选框的 Web 表单,并且想将答案文本从“True”和“False”更改为“Agree”和“Disagree”,但是因为我使用lookup 表达式来获取回复,所以我可以不要使用简单的iif 语句。当我尝试使用两个表达式时,我收到一条错误消息。以下是我的表达方式:
=iif(ReportItems!Textbox70.Value = true, "Agree", "Do not agree")
=Lookup(22, Fields!QuestionID.Value, Fields!ResponseDisplayText.Value, "ApplicationData")
【问题讨论】:
标签: reporting-services lookup iif