Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Get the value from previous row

Hello all! I am trying to execute a code to show me the value of the previous row in a new column whenever the value of the column "BOM Level" is equal to "NaN", as highlighted in orange in the second image.

Unfortunately I still couldn't find a way to do this in the M language (I'm using Power Query in Excel).
Thank you in advance 🙂

 

Current worksheet:

 

Result I'm trying to achieve:

2 Replies