Flag_Hippo wrote:This post shows how to create a custom statistic by stack size.
Hi!
Thank you for your help so far.
I tried to build a stat for PFR at 50–100bb. I modified the column expressions as follows:
Changed from:
sum(if[tourney_hand_player_statistics.cnt_p_raise > 0, 1, 0])
To:
sum(if[tourney_hand_player_statistics.cnt_p_raise > 0
AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 50 AND 100, 1, 0])
And also changed the second column from:
sum(if[ lookup_actions_p.action LIKE '__%' OR
(lookup_actions_p.action LIKE '_' AND
(tourney_hand_player_statistics.amt_before > (tourney_blinds.amt_bb + tourney_hand_player_statistics.amt_ante)) AND
(tourney_hand_player_statistics.amt_p_raise_facing <
(tourney_hand_player_statistics.amt_before - (tourney_hand_player_statistics.amt_blind + tourney_hand_player_statistics.amt_ante))) AND
(tourney_hand_player_statistics.flg_p_open_opp OR
tourney_hand_player_statistics.cnt_p_face_limpers > 0 OR
tourney_hand_player_statistics.flg_p_3bet_opp OR
tourney_hand_player_statistics.flg_p_4bet_opp) ), 1, 0])
To:
sum(if[ lookup_actions_p.action LIKE '__%' OR
(lookup_actions_p.action LIKE '_' AND
(tourney_hand_player_statistics.amt_before > (tourney_blinds.amt_bb + tourney_hand_player_statistics.amt_ante)) AND
(tourney_hand_player_statistics.amt_p_raise_facing <
(tourney_hand_player_statistics.amt_before - (tourney_hand_player_statistics.amt_blind + tourney_hand_player_statistics.amt_ante))) AND
(tourney_hand_player_statistics.flg_p_open_opp OR
tourney_hand_player_statistics.cnt_p_face_limpers > 0 OR
tourney_hand_player_statistics.flg_p_3bet_opp OR
tourney_hand_player_statistics.flg_p_4bet_opp) )
AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 50 AND 100, 1, 0])
Everything validates correctly, and I saved the stat.
However, in the HUD or in Reports, the stat just shows a dash (—) and no value is displayed.
What could be the issue?
Thanks in advance for any guidance!