format matrix cells based on value

  • hello, I have a matrix in which the values are populated by the matrix. The values are mixed together and need to be formatted based on their values. basically, if something is more than 100, it will be money. If it is less than 100, just a regular number. Here is the iif statement that I have constructed, but I get an error saying it cannot refer to itself. How woudl I work around this. TIA

    =Iif(InScope(me.value > 100),FormatCurrency(SUM(Fields!VAL.Value)), SUM(Fields!VAL.Value))

  • nevermind. Some more digging and testing gave me this.

    =Iif((SUM(Fields!VAL.Value) > 100), FormatCurrency(SUM(Fields!VAL.Value)), SUM(Fields!VAL.Value))

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

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