Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by jorre vennincx » Fri Jan 21, 2022 10:57 am
Hi,
I am trying to create open shove stats by position(BTN this one) and this is what i have but its an invalid expression. I feel like i should be close to the correct answer. can anyone help me ?
sum(if[tourney_hand_player_statistics.position = 0 AND tourney_hand_player_statistics.amt_p_raise_made >= tourney_hand_player_statistics.amt_p_effective_stack and tourney_hand_player_statistics.flg_p_first_raise and tourney_hand_player_statistics.flg_p_open_opp, 1, 0])
-
jorre vennincx
-
- Posts: 1
- Joined: Fri Jan 21, 2022 10:54 am
by Flag_Hippo » Fri Jan 21, 2022 2:31 pm
It is valid when used for a new column:
If you are getting an 'Invalid Value Expression' error then that means you are entering the expression directly in the 'Value Expression' field on the 'Stats' tab and that isn't how custom statistics are created - see
this guide for the basics on custom statistics creation. You will also need a second custom column that counts the opportunities as well but there is a statistic called 'Open Shove' already available in the
Download Warehouse. You can then use that statistic to generate results for all positions in a report grouped by position or for a HUD stat using the 'Position' property in the HUD Profile Editor or
by creating your own positional popup.
-
Flag_Hippo
- Moderator
-
- Posts: 14514
- Joined: Tue Jan 31, 2012 7:50 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 27 guests