reporting services - SSRS expression with missing column not working -
i'm trying create expression missing column. in column not returned query exist in list of fields.
the problem i'm having every time expression , 1 of parameters field doesn't have return query query fails silently. following example looking @ field "test" that, said, exists in list of fields not returned query, how can have statement send "alert"??
=iif(fields!test.ismissing,"alert",fields!test.value)
the reason don't return field columns dependent on parameters enter in procedure (so used or not depending on user asking)
thank you
from reading question think, have dynamic columns returns conditionally
should is,
1) create parameter in parameter list , set internal , assign field value parameter, suppose parameter dyanmicfiledvalue
2) change expression as, =iif(isnothing(parameters!dyanmicfiledvalue.value),"alert", parameters!dyanmicfiledvalue.value )
that should it. let me know in case of issues.
or if want check null or empty value column change as
=iif(isnothing(fields!test.value),"alert",fields!test.value)
Comments
Post a Comment