Help to create new stats

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

Help to create new stats

Postby raph156 » Mon Feb 22, 2010 1:49 pm

Hello,

i would like create new stats :

W$WRT : Won Money When Raise Total
The formule i used is: ((cnt_f_raise_won + cnt_t_raise_won + cnt_r_raise_won) / (cnt_f_raise + cnt_t_raise + cnt_r_raise)) * 100

3BWT : 3Bet Win Total
The formule i used is: ((cnt_f_3bet_won + cnt_t_3bet_won + cnt_r_3bet_won) / (cnt_f_3bet + cnt_t_3bet + cnt_r_3bet)) * 100

For both SQL didnt valided the value expression.

Please help me to create thise stats.

Answere in french possible
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Help to create new stats

Postby kraada » Mon Feb 22, 2010 3:06 pm

That's because those columns you are referencing don't exist by default on the Columns tab; you'll need to build them.

Please take a look at the Tutorial: Using Custom Statistics and Reports for more on how to construct columns.
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