Weighted Contributed Rake

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

Weighted Contributed Rake

Postby zachdk » Wed Oct 05, 2011 3:53 am

I have made the following two new stats

For Holdem Cash Hand:

if[holdem_hand_player_detail.amt_bet_ttl > 0 AND holdem_hand_summary.amt_rake > 0, (holdem_hand_player_detail.amt_bet_ttl / holdem_hand_summary.amt_pot) * holdem_hand_summary.amt_rake,0]

For Holdem Cash Player Statistics:

sum(if[holdem_hand_player_detail.amt_bet_ttl > 0 AND holdem_hand_summary.amt_rake > 0, (holdem_hand_player_detail.amt_bet_ttl / holdem_hand_summary.amt_pot) * holdem_hand_summary.amt_rake,0])

They are both working and showing the correct amount for the Merge network, but I would like to make these per session and sessions summary also, is this possible?
zachdk
 
Posts: 7
Joined: Wed Nov 05, 2008 5:24 am

Re: Weighted Contributed Rake

Postby WhiteRider » Wed Oct 05, 2011 4:11 am

You can't access the amounts for individual hands when looking at session totals, or get the total you bet over a session, so this isn't possible in Holdem Cash Session or Holdem Cash Sessions.
One alternative is to download my "HCPS Session statistics" from the "Get More" section where you can see Holdem Cash Player Statistics stats split by session.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Weighted Contributed Rake

Postby zachdk » Wed Oct 05, 2011 4:17 am

Thanks, it is working.
zachdk
 
Posts: 7
Joined: Wed Nov 05, 2008 5:24 am


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

Who is online

Users browsing this forum: No registered users and 0 guests