Sort and Check whether the previous value is null in spotfire

198 Views Asked by At

I want to apply this logic in spotfire - If the current cell in InReworkFlag is null and previous cell is also null then it's 'REWORK'. I have to do this after sorting based on the date time column.

enter image description here

I tried using OVER and PREVIOUS functions but couldn't achieve the expected results. Could anyone help me out here?

1

There are 1 best solutions below

0
JSVJ On

Figured it out.

Max([InReworkFlag]) OVER (Previous([StatusEndDateTime])