Replace a column value in a row based on the value of the previous row
What is the syntax to replace a column value in a row based on the value of the previous row?
For example a report returns two rows:
X 999
Y 5
I want Y to be 999 instead of 5 because previous record's value is 999.
0