简体   繁体   English

报告中的SSRS表达

[英]SSRS expression on report

I have this expression in report but not display when I ran the report, no error. 我在报表中有此表达式,但在运行报表时未显示,没有错误。 Can you help please. 你能帮忙吗?

=iif(Parameters!daterange.Value = 10000, "As of: " & First(Fields!mindate.Value, "TopExecutedReports"), "")

It's correct. 这是正确的。 Mistaken 错误

I am just assuming that in Report Dataset you have set Daterange datatype as a VARCHAR() (It can be because of your requirement) 我只是假设在Report Dataset您已将Daterange数据类型设置为VARCHAR() (可能是由于您的要求)

So you should try something like below, 因此,您应该尝试以下类似方法,

=IIF(Parameters!daterange.Value = "10000", "As of: " + First(Fields!mindate.Value, "TopExecutedReports"), "")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM