I am creating an SSRS2012 report.
I have a matrix with static columns and nested row groups. I would like to add a top and bottom border on my rows based on the parent group. The matrix looks as follows:
[ProcessCell] | [Name] | [Field]|
My groups are: ProcessCell1 (parent) - Name (child)
I am currently using standard formatting to get [ProcessCell]
's borders and it works. I am using an expression (found in another article) for [Name]
's borders and it works, however the expression does not work for the [Field]
box. The expression is as follows:
=IIf(Fields!ProcessCell.Value = Previous(Fields!ProcessCell.Value, "Name") OR Not(Fields!ProcessCell.Value = First(Fields!ProcessCell.Value, "Name")), "Light Gray", "Black")
I have tried changing the scopes of previous and first but it did not work.
The error I am getting is "BorderColor expression for the text box 'Field
' has a scope parameter that is not valid for an aggregate function"