Replacing text

  • Hi,

    I am bringing into my matrix a field called 'Acct' (account).

    The expression is:

    =Fields!Acct.Value

    I would like to keep bringing in this value but every time acct is 5200 I want it to say 'Regular Hours' instead of '5200'

    and 'Overtime Hours' every time it is '5204'

    How do I do that?

  • I am assuming the Acct field is an integer here.

    = IIF(Fields!Acct.Value = 5200,"Regular Hours",IIF(Fields!Acct.Value = 5204,"Overtime Hours","Whatever you want if it isn't either"))

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply