Custom Report for In Position/Out of Position

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Custom Report for In Position/Out of Position

Postby biiiink » Sat Aug 27, 2011 11:00 pm

Hello

I would like to create a custom report that had 2 rows. One for In Position and one for Out of Position.

This way, I could run a filter (say a 3 bet filter for example) and the report will tell me how i'm doing both In and Out of position.

Is it possible to do this, and how would I go about doing it

Thanks.
biiiink
 
Posts: 27
Joined: Fri Aug 12, 2011 5:50 pm

Re: Custom Report for In Position/Out of Position

Postby kraada » Sun Aug 28, 2011 8:02 am

Create a column called flg_f_has_position with the definition:
if[holdem_hand_player_detail.flg_f_has_position,1, 2]

(Note: this is based on being in position on the flop, if you want different streets you can substitute.)

Make sure you check the "Group By" checkbox in the column creation window.

Create a stat which displays that column - set the display however you'd like, and it will break things down into two rows, one which is in position and one which is out of position.

You might want to set the format expression to something like this: if(flg_f_has_position, format('In Position'), format('Out of Position')) so that you can tell the difference between the rows.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests