|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Monday, March 11, 2013 7:33 AM
Points: 107,
Visits: 120
|
|
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
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 8:01 PM
Points: 408,
Visits: 688
|
|
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.
|
|
|
|