I'm trying to make 2 separate stats for limp/call: one when hero has limped and faced an ISO shove and one when hero has limped and face a maximum 4bb iso.
I succesfully made the limp/call vs shove stat with this formula:
limp_call_shove
CODE: SELECT ALL
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'CC%' AND lookup_actions_f.action LIKE '', 1, 0])
limp_call_shove_opp
CODE: SELECT ALL
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'C%' AND tourney_hand_player_statistics.enum_face_allin similar to 'P|p' , 1, 0])
However, I'm struggling with the limp/call vs NAI.
I tried this but It says The Statement is not valid SQL.
cnt_p_limp_fold_naiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action = 'CF' AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])
cnt_p_limp_faceraisenaiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])
Could someone tell me what I did wrong?
Thank you !