Position Statistics : Without antes

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

Position Statistics : Without antes

Postby jackh69 » Sat Feb 06, 2010 6:20 pm

Hi :ugeek:

It's possible to have this stat : Amount Won Without Antes ?
like Amount Won Without Blinds in Position Statistics

Thanks :geek:
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm

Re: Position Statistics : Without antes

Postby kraada » Sun Feb 07, 2010 10:04 am

Yes you could do this.

Create a new column in the Holdem Cash Player Statistics section called amt_ante with definition sum(holdem_hand_player_detail.amt_ante) then create a new variable on the Variables tab called var_amount_won_woa with definition if(amt_ante=0, 0, amt_won + amt_ante)

Then duplicate the Without Blinds stat on the Stats tab and change var_amoutn_won_wob to var_amount_won_woa and change the name/description and format tab, save, update your cache, and then you should be good to go.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Position Statistics : Without antes

Postby jackh69 » Wed Feb 10, 2010 12:17 am

Thank you it's perfect. :ugeek:
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm


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

Who is online

Users browsing this forum: No registered users and 0 guests