Stratocaster wrote:Using cash_hand_player_statistics.cnt_p_raise = 1 instead of length(cash_hand_summary.str_aggressors_p) = 2 will give the same effect
No. Using .cnt_p_raise = 1 only says that the active player made exactly 1 raise, but doesn't rule out someone else raising too.
Checking the length of the aggressors string is 2 says that the highest "bet" was a 2Bet.
Stratocaster wrote:I'm looking at my column and wondering could I make it like this:
- Code: Select all
sum(if[length(cash_hand_summary.str_aggressors_p) = 2, cash_hand_player_statistics.cnt_f_call, 0])
That will work, but it depends exactly what you're trying to count.
This expression will give you the total number of times the player called on the flop, across all hands. If the player called twice on the flop in a single hand this will count 2. Is that what you want?
If not, see Kraada's previous post:
kraada wrote:cnt_f_call is the number of times you called on a given flop - you see, you can call more than once so unlike betting or checking (which you can only do once) we need to store how many times you called.
If you want to count up the number of hands in which you made at least one flop call this would work:
sum(if[cash_hand_player_statistics.cnt_f_call > 0, 1, 0])
I think that tutorial wasn't converted - the original forum post is
here.