Use this function when you want to get the value of the attribute on the previous output row.
In the following example PreviousValue is used in a row rule condition to check the content type of the previous row. The rule outputs the current row only if the previous content type is not PART. This is a way to avoid outputting rows not relevant for PART types.