Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello, I would like to have a table where i can show in a row the values of the production costs of previous orders. I mean, my dimension is my produced material, and the cost of the current production order i can show in the row where the data of that production order are shown. But in the same row i would like to show the values of the two previous orders of that material in order to know the difference with the current order. In a graph it would be easier i think but i would like to have in a table. To sum up, it would be how to show values from previous records in a table in the current records. It would be great to do it in the data load editor. Thanks.
Hi
try the above function
assuming your mesure is sum(cost) so the expression should be
above(sum(cost),0,2)
Hi @felipeyague
In Data load editor, try with Peek(fieldName,-2) to get the previous 2 order.
Ref for Peek: