Im trying to make a stat in this situation: Player did raise preflop(or 3bet) and got called, player does cbet and got raised and called the raise, i want the amount to times he folded on later streets, if its already built i do not figure where.
Stat would be
(cnt_f_cbet_call_to_raise_fold_despues / cnt_f_cbet_call_to_raise_fold_despues_opp) * 100
cnt_f_cbet_call_to_raise_fold_despues:
sum(if[cash_hand_player_statistics.flg_f_cbet AND (lookup_actions_f.action = 'BC') AND (cash_hand_player_statistics.flg_t_fold OR cash_hand_player_statistics.flg_r_fold), 1, 0])
cnt_f_cbet_call_to_raise_fold_despues_opp
sum(if[cash_hand_player_statistics.flg_f_cbet AND (lookup_actions_f.action = 'BC') AND (lookup_actions_t.action SIMILAR TO '(XC|XR|XF|BR|BC|BF)' OR lookup_actions_r.action SIMILAR TO '(XC|XR|XF|BR|BC|BF)'), 1, 0])
i think im close to it, but not so sure, any help comments will be very apreciated.