Hey there, I'm currently working on self-examing stats, to see if certain moves I make are profitable or not. Specifically, I'm trying to see a certain situation, where SB RFI, and I call from BB. I noticed the stat "amt_won" and trying to see how can I make it work for certain situations with an "IF" condition.
The stat I'm trying to build is "Amt_WON_when_BB_calls_SB_RFI"...
"Amt_WON_when_BB_calls_SB_RFI" = "Amt_won_BB_vs_SB" / "cnt_hands_with_flop_bb_vs_sb"
where "Amt_won_BB_vs_SB" is ????
and "cnt_hands_with_flop_bb_vs_sb" is:
sum(if[holdem_hand_player_statistics.position = 8 AND
holdem_hand_player_detail.val_p_raise_aggressor_pos = 9 AND
holdem_hand_player_statistics.flg_blind_def_opp AND NOT
(holdem_hand_player_statistics.flg_p_3bet_def_opp) AND NOT
(holdem_hand_player_statistics.flg_p_3bet) AND
holdem_hand_summary.cnt_players_f > 0, 1, 0])
How do I make an "IF" condition to make the "Amt_won_BB_vs_SB" work?
