简体   繁体   中英

Is there a way to combine two conditions with and in SSRS Color Expression?

I am attempting to have the text color change font based on these two expressions. Currently, I have the following for my expression:

I have googled how to have multiple conditions in an IIF statement, but I continue to come up with nested iif statements, which is not what I want.

=iif(fields!EffectiveDate.Value < Today() && fields!CertificationStatus.Vaule = "In Process", "Red", "Black")

I would like my in process certs that are past due to show red on the report to alert people to an issue.

您只需要将&&更改为And:

=iif(fields!EffectiveDate.Value < Today() And fields!CertificationStatus.Vaule = "In Process", "Red", "Black")

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