Custom stat does not show up in list

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Custom stat does not show up in list

Postby mala » Wed Feb 20, 2019 8:55 am

Hi guys, i've made quite a few custom stats but that's the first time i encounter this problem.
My new stat gets validated, saved and applied, as usual, but when i try to add it to the hud, it does not appears in the list...

stat is how many times a player open raised 2bb preflop:

Code: Select all
(cnt_p_2bet_2x / (cnt_p_raise_first_in / cnt_p_open_opp )) * 100


custom column for cnt_p_2bet_2x :

Code: Select all
sum(if[val_p_2bet_size = 1, 1, 0])


any idea why this stat doesn't show up in list?
also, while i'm here, does the code sound correct? fist time i use val_ in a column
mala
 
Posts: 21
Joined: Wed Feb 26, 2014 11:04 am

Re: Custom stat does not show up in list

Postby mala » Wed Feb 20, 2019 6:28 pm

i've changed the column expression for "cnt_p_2bet_2x" to:

Code: Select all
sum(if[cash_hand_player_statistics.flg_p_first_raise and cash_hand_player_statistics.amt_p_raise_made <= 2 * cash_limit.amt_bb, 1, 0])


and it works... what was the problem?
mala
 
Posts: 21
Joined: Wed Feb 26, 2014 11:04 am

Re: Custom stat does not show up in list

Postby Flag_Hippo » Thu Feb 21, 2019 7:52 am

val_p_2bet_size is a column that groups hands for the 'PreFlop 2Bet Size' statistic in reports so it cannot be used in the HUD. Look at the 'PreFlop 2Bet Size' definition/details and 'val_p_2bet_size' column in 'Configure -> Statistics' to see how they are built differently from regular stats.
Flag_Hippo
Moderator
 
Posts: 14495
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 22 guests

cron