Hi
I've been trying to use Table.SelectRows to get a value from the previous row, I've got as far as a list of values,
Which returns a list of the units 0 in first 1 item in second 2 items in third position, I've been trying to return the first list item for row 1, second list item for row 2 and so on, I thought of
l
It may not be possible I'd be interested in any ideas,
So here I wold like to just have the second item from the list 3.
Richard.
I've been trying to use Table.SelectRows to get a value from the previous row, I've got as far as a list of values,
Excel Formula:
= Table.AddColumn(#"Changed Type", "Custom", (A)=>
Table.SelectRows( #"Changed Type" ,(B)=> B[Date] < A[Date] )[Units] )
Which returns a list of the units 0 in first 1 item in second 2 items in third position, I've been trying to return the first list item for row 1, second list item for row 2 and so on, I thought of
l
Code:
} )
It may not be possible I'd be interested in any ideas,
Richard.