Hi,
I am new to BODS. I have below requirement to loop through the input records in one run.
Input Column and Data:
L_DETAIL
600000
500000
400000
600000
T_KEY_SEQ=IF(SUBSTR(L_DETAIL,1,1)='6', $G_T_KEY_SEQ+1,$G_T_KEY_SEQ)
I need output like below
L_DETAL T_KEY_SEQ
600000 1
500000 0
400000 0
600000 2