Total Profit Stat
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    28

    Default Total Profit Stat

    Sorry for being stupid.

    Im trying to make an Total Profit stat by adding 'netamountwon' and 'rakeback'

    where am i going wrong with this?

    <Stat GroupName="Default" ColumnName="Total Profit" ValueExpressions="Sum(ph.NetAmountWon)+(ph.Rakebac k)="Total Profit") Evaluate="Total Profit" ColumnHeader="$ Profit" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="Total Profit" />

    TY

    Edit: Why can i post code?

  2. #2
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,809

    Default

    Use the PHP code tags.

    This forum doesn't like the html style inward facing arrows : < It doesn't like these things >

    You already know about the Rakeback line in the graph I assume.

  3. #3
    Member
    Join Date
    Jan 2009
    Posts
    45

    Default

    This is what I do (for 27% from Full Tilt)

    &lt;Stat GroupName="Default" ColumnName="TotalWin" ValueExpressions="Sum(PH.RakeAmount)/100.0*0.27 as RakeBackAmount;Sum(PH.NetAmountWon)/100 as NetWin" Evaluate="(RakeBackAmount+NetWin)" ColumnHeader="TotalWin" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="TotalWin" /&gt;

    I don't know what your code looked like, but remember that NetAmountWon is not in dollars. It is in cents (dollars*100).

  4. #4
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,809

    Default

    I will forward this to the developer for a reply.

  5. #5
    Member
    Join Date
    Jan 2009
    Posts
    45

    Default

    Quote Originally Posted by fozzy71 View Post
    I will forward this to the developer for a reply.
    Dunno what the developer needs to do. I was just sharing my stat w/ the OP.

  6. #6
    Junior Member
    Join Date
    Jan 2009
    Posts
    28

    Default

    Quote Originally Posted by nofolmholdm View Post
    Dunno what the developer needs to do. I was just sharing my stat w/ the OP.
    Thanks, got it working

  7. #7
    Junior Member
    Join Date
    May 2009
    Posts
    4

    Default

    Quote Originally Posted by nofolmholdm View Post
    This is what I do (for 27% from Full Tilt)

    &lt;Stat GroupName="Default" ColumnName="TotalWin" ValueExpressions="Sum(PH.RakeAmount)/100.0*0.27 as RakeBackAmount;Sum(PH.NetAmountWon)/100 as NetWin" Evaluate="(RakeBackAmount+NetWin)" ColumnHeader="TotalWin" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="TotalWin" /&gt;

    I don't know what your code looked like, but remember that NetAmountWon is not in dollars. It is in cents (dollars*100).
    could someone make something like this for pokerstars?

    translating the FPPs into $

Similar Threads

  1. Total amount wagered stat?
    By Fabreg1 in forum Manager General
    Replies: 19
    Last Post: 07-17-2014, 09:50 AM
  2. Total wins, total losses in session tab?
    By qza in forum Manager General
    Replies: 3
    Last Post: 04-11-2009, 08:25 AM
  3. total profit..
    By xandur in forum Manager General
    Replies: 4
    Last Post: 01-18-2009, 01:15 AM

Posting Permissions

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