[Custom Stats] How to differentiate hands based on pokersite played ?
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2011
    Posts
    5

    Default [Custom Stats] How to differentiate hands based on pokersite played ?

    I am going to try to explain what i am trying to do ...

    I want to calculate a weighted sum of rake base on the site where i played.
    Unfortunately usual tables ph or phmsisc do not have the site_id so i can't just do a "ph.site_id". I find out that there is a table named Pokersites but i am not sure how to use it ...


    Basically here is my CustomStats i would like to do with an error :
    <Stat GroupName="CustomsStats"
    ColumnName="TEST"
    ValueExpressions="
    Sum(case when pokersites.abbreviation=PP THEN ph.RakeAmount ELSE 0 END)/100 as RakePartyPoker;
    Sum(case when pokersites.abbreviation=FT THEN ph.RakeAmount ELSE 0 END)/100 as RakeFullTilt;
    Sum(case when pokersites.abbreviation=PS THEN ph.RakeAmount ELSE 0 END)/100 as RakePokerstars
    "
    Evaluate="RakePartyPoker*4+RakeFullTilt+RakePokers tars*2"
    ColumnHeader="SP" ColumnFormat="0" ColumnWidth="*" Tooltip="TEST"
    />

    I suppose it must not be difficult but i just can't find the right wording.

  2. #2
    Junior Member
    Join Date
    Feb 2011
    Posts
    5

    Default

    Noneone as a clue ?
    Still looking for this information but i have no idea ...

  3. #3
    Junior Member
    Join Date
    Feb 2011
    Posts
    5

    Default

    Thanks everyone for your help.
    The answer is to use PKH.site_id insttead of trying to reach directy the "site" table.

    I found the answer in another question.
    Thread can be closed.

Similar Threads

  1. Replies: 4
    Last Post: 05-29-2011, 05:59 AM
  2. Sorting stats by pokersite possible?
    By mabaeka in forum Manager General
    Replies: 2
    Last Post: 12-28-2010, 03:54 AM
  3. Stats different color based on amount of hands played?
    By urflatbeat in forum Manager General
    Replies: 2
    Last Post: 04-25-2010, 03:33 PM
  4. Stats based only on hands played vs hero ?
    By joker in forum Manager General
    Replies: 1
    Last Post: 11-26-2009, 08:40 PM
  5. all hands played by all players custom pos filter
    By illettaffu_904 in forum Manager General
    Replies: 1
    Last Post: 03-11-2009, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •