Page 1 of 1

Rakeback for different sites

PostPosted: Thu Sep 11, 2008 7:05 am
by skatemaza
Hello, I want create stats for rakeback, but i will differenciate there between the different pokersites.

I have create the colum "amt_rb" with the expression of "(amt_mgr * 0.4)" and then i have a statistic names rakeback with the value Expression with "amt_rb"

That works, but i will have rakeback for titanpoker with 40% and FTP for example with 30%.

I hope you can help me.

with best regards
Martin

Re: Rakeback for different sites

PostPosted: Thu Sep 11, 2008 9:49 am
by WhiteRider
The easiest thing to do would be to create 2 separate stats, but you could do it in one with an IF statement.
Something like
if ( lookup_from_id( id_site, 'siteabbr' ) = 'FTP', (amt_mgr * 0.3), (amt_mgr * 0.4) )

You would have to do this in the Statistic not the Column because you can only use the lookup_from_id function in the Statistic.