简体   繁体   中英

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)

So you should try something like below,

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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