I'm trying to use the before function with a variable in a pivot and can't get it to work as wanted. What I wan't to do is to calculate one of the rows from the previous column data.
In the first two columns it works but then onwards, when the calculated values should change, it still uses the static variable value.