Help for stat

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 for stat

Postby jackh69 » Mon May 23, 2011 12:36 pm

I try to do a new stat for Tourney, I want to know this value :

My Stack / Average Stack of players on my table

I tried that :

var_live_amt_stack / var_live_avg_stack * var_live_cnt_players

But don't work. :mrgreen:
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm

Re: Help for stat

Postby kraada » Mon May 23, 2011 1:02 pm

This is sufficient:

var_live_amt_stack / var_live_avg_stack

var_live_avg_stack is already an average of the players at the table; there is no need for additional multiplication.
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