Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by Darvini » Tue Nov 13, 2012 1:07 pm
Is there a way to filter squeeze on how many players got squeezed? And similarly a way to filter how many players got raised post flop.
-
Darvini
-
- Posts: 182
- Joined: Fri Oct 30, 2009 12:15 pm
by kraada » Tue Nov 13, 2012 1:57 pm
I can't see an easy way to do that I'm afraid.
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
by Darvini » Sat Dec 08, 2012 5:01 pm
Think there is a way to make a stat for it, but having some problems. I thought this would tell me the position of the third player to put money in on the flop: substring(cash_hand_summary.str_actors_f from 3 for 1)::int but I get error message when its in the column.
sum(if[ cash_hand_player_statistics.flg_f_first_raise and substring(cash_hand_summary.str_actors_f from 3 for 1)::int = cash_hand_player_statistics.position, 1, 0])
Why are there 4 different positions?
cash_hand_player_statistics.position
cash_hand_summary.cnt_players_lookup_position
lookup_positions.position
lookup_positions.absolute_position
-
Darvini
-
- Posts: 182
- Joined: Fri Oct 30, 2009 12:15 pm
by kraada » Sun Dec 09, 2012 12:28 pm
You need to also make sure the string is 3 characters long - otherwise you end up with query errors (which is why this is rejected).
Adding in:
char_length(cash_hand_summary.str_actors_f) >= 3 should do the trick for you.
cash_hand_player_statistics.position is the position of the player from whose perspective you're making the stat and is almost certainly the one that you want to use.
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 30 guests