Need help with custom stat
HI,
I would like to build a stat that tells me how many times a player raised with a certain subset of hands, say AA-KK. I tried different variations of the following but couldn't make it work.
(1) Create a colum called holecard_big_pairs in 'Holdem Cash Player Statistics' with the subset of hands.
if[holdem_hand_player_statistics.id_holecard = 1 OR holdem_hand_player_statistics.id_holecard = 26, 1, 0].
(2) Create the sum.
sum(if[holdem_hand_player_statistics_cnt_p_raise > 0 AND holecard_big_pairs = 1, 1, 0])
Apparently (2) is not a valid SQL statement.
Thanks,
Christian H
I would like to build a stat that tells me how many times a player raised with a certain subset of hands, say AA-KK. I tried different variations of the following but couldn't make it work.
(1) Create a colum called holecard_big_pairs in 'Holdem Cash Player Statistics' with the subset of hands.
if[holdem_hand_player_statistics.id_holecard = 1 OR holdem_hand_player_statistics.id_holecard = 26, 1, 0].
(2) Create the sum.
sum(if[holdem_hand_player_statistics_cnt_p_raise > 0 AND holecard_big_pairs = 1, 1, 0])
Apparently (2) is not a valid SQL statement.
Thanks,
Christian H
