- Code: Select all
sum(if[live_tourney_player.amt_stack / (live_tourney_table.amt_bb + live_tourney_table.amt_sb + (live_tourney_table.amt_ante * live_tourney_table.cnt_players)) < 5 and tourney_hand_player_statistics.flg_p_open_opp, 1, 0])
The problem is that the first condition about the M value (everything before the "and") is only evaluated once, and makes the entire column either 0 (if it resolves false) or leaves it unaffected (if it resolves true). What I want, of course, is that it is evaluated separately for each hand, just as the field tourney_hand_player_statistics.flg_p_open_opp. I also tried reducing it to just one condition (e.g., live_tourney_player.amt_stack < 1000) to test, and it's the same issue. I assume I'm using the wrong fields, but which fields should I use instead?
(limp_open_shove has the identical problem, so the definition doesn't really matter.)