I wanted to create a new statistic which is: Percent of hands won after attempting a blind steal and defender didn't fold. So I first made a flag variable. I did this under the "Holdem Cash Hand" section name. The purpose of the flag was to flag hands in which a blind steal was attempted, but the defender didn't fold (he either called or raised). The variable was put in as a new column and it was called flg_steal_att_opp_nf. The expression to create it was:
if[holdem_hand_player_statistics.flg_steal_att AND (holdem_hand_player_statistics.flg_p_3bet_def_opp OR holdem_hand_player_statistics.flg_f_saw),1,0]
Then, I wanted to use my new flg_steal_att_opp_nf flag in the creation of another new column. This time, the new column was to go under "Holdem Cash Player Statistics" section name because it would be a count of all the times that a player attempted a steal but the defender didn't fold. I tried this expression:
sum(if[flg_steal_att_opp_nf,1,0])
That didn't work (I got an error in validating the expression).
So, I tried:
sum(if[holdem_hand_player_statistics.flg_steal_att_opp_nf,1,0])
That didn't work either. Can anybody give a hint as to how I can get the one column that I created under "Holdem Cash Hand" to be recognized when I'm creating another column under "Holdem Cash Player Statistics"?
Thank you,
onaleeps
