switch and/or iff function in SSRS. How to use both or any for two given columns -


how use =switch & iif condition change color in ssrs if condition met. have 2 columns “scheduleddate” (which date/time), , activity(which text format). want change color of activity (which has output complete, current, overdue), if scheduleddate greater today’s date, want change overdue data in column activity red.

should using switch or iif. how? can please give example?

appreciate on one.

thanks, niki

in scenario, if need set red without setting multiple color fields, it's better use iif(). base on condition, try expression below:

=iif(fields!scheduledate.value>now() , fields!activity.value="overdue",red,black)


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -