Colour co-ordinating increasing/decreasing values on a matrix report

  • Hi,

    I just created a matrix report with consecutive dates running along the y-axis and sales people running down the x-axis.

    Is there a way to show if a sales figure has an increase from the previous date as green and red if it has decreased?

    Any help welcome.

    Thanks,

    Eamon

  • In SSRS 2005 I think you would need to have the sales values for different dates returned in the same row in the dataset. So that involves modifying your query possible using PIVOT or something like that.

    In newer versions you can refer directly to other cells in the matrix using this:

    ReportItems!Textboxname.value

    You could create an expression in the format property

    something like

    =IIf(Fields!Column.Value > ReportItems!TextBoxName.value,"Green",IIf(Fields!Column.Value < ReportItems!TextBoxName.value,"Red","Black"))

    The formatting formula would be similar if you have to use the first option, it would just refer to two fields at the same grouping/details level.

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

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