If you want a custom column that counts how often this occurs then that would be: sum(if[cash_hand_player_statistics.amt_r_bet_made > 0 and cash_hand_player_statistics.amt_r_bet_made >= cash_hand_player_statistics.amt_r_effective_stack, 1, 0]) See this guide for the basics on custom statistics creat...