Hi,
I am new to SSRS, I have recently created a report. The report has a data
field of 'Status' with two possible value 'Success' and 'Failed'. I would
like to control the text colr accordingly. i.e. if the value is 'Success'
then the color is green, otherwise, the color is red. But I don't know how,
please help.Use an expression. Assuming the text is in a texbox control...
Color property, select <expression>
=IIF(Fields!Description.Value="Success", "Green", "Red")
Steve MunLeeuw
"Hong Wang" <HongWang@.discussions.microsoft.com> wrote in message
news:32131897-E3A2-4FDB-A766-466643E53240@.microsoft.com...
> Hi,
> I am new to SSRS, I have recently created a report. The report has a data
> field of 'Status' with two possible value 'Success' and 'Failed'. I would
> like to control the text colr accordingly. i.e. if the value is 'Success'
> then the color is green, otherwise, the color is red. But I don't know
> how,
> please help.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment