A group expression for the {0} {1}' uses the RowNumber function with a scope parameter that is not valid. When used in a ...

A group expression for the {0} ‘{1}' uses the RowNumber function with a scope parameter that is not valid.  When used in a group expression, the value of the scope parameter of RowNumber must equal the name of the group directly containing the current group.