So I want to create a Column expression which counts a number of actions, but with a maximum value. For example, if I wanted to create a column that simply counted the number of times a player limped preflop, I would use the following:
sum(if[tourney_holdem_hand_player_statistics.flg_p_limp, 1, 0])
I haven't been able to figure out how to store the lesser of the number of limps or, say, the value 999 - so that the number stored in the column would never reach or exceed 1000. I was hoping that the min() function would help me here, but the following statement returns invalid by the PT3 Configure Statistics UI:
min(sum(if[tourney_holdem_hand_player_statistics.flg_p_limp, 1, 0]),999)
Is there a way to accomplish this?
Thanks - and sorry for bugging you guys so much!
Al
