hey guys
i have a column with 2 different strings, A and B.
i need to count the occurance of A, before every occurance of B. so i can get a column that representes for every row conatining B, how many rows of A were presented before.
atached example table, with manual calculation of the desired column.
appreciate a lot any help.