PDA

View Full Version : Custom stat issue



jimbos
11-08-2008, 06:14 AM
Guys,

I've tried to create a custom stat like this:

<Stat ColumnName="RakePer100Hands" ValueExpressions="Ph.RakeAmount as TotalRake" Evaluate="TotalRake*100.0/TotalHands" ColumnHeader="Rake/100Hands" ColumnFormat="0.0" ColumnWidth="60" Tooltip="Rake per 100 Hands" />

And when I refresh the Manager with stat I get the following problem:

Does anyone knows how to solve this?

Thanks

morny
11-08-2008, 08:18 AM
Escalated to Roy, hell respond here asap

Rvg72
11-09-2008, 03:44 AM
Change

Ph.RakeAmount as TotalRake

to

sum(PH.RakeAmount) as TotalRake

and it should work