Thanks. I was able to create a new column, amt_rakeback_merge, for Merge rakeback:
- Code: Select all
sum(if[holdem_hand_summary.id_site=2100 and holdem_hand_player_statistics.id_player_real = 387595, 0.35, 0] * if[holdem_hand_player_detail.amt_bet_ttl > 0, (holdem_hand_player_detail.amt_bet_ttl / holdem_hand_summary.amt_pot) * holdem_hand_summary.amt_rake, 0])
The new stat for Amount Won w/Rakeback was "amt_won + amt_rakeback_merge" and it shows up in reports and graphs correctly. (When I built the stat from existing columns, it would show up in reports, but I couldn't add it to the graph).
While I'm at it, I'd like to create amt_rakeback_ft for my old FT hands. Since they changed their rakeback scheme, I've come up with the following:
sum(if[holdem_hand_summary.id_site=300, 0.27, 0] * if[holdem_hand_player_statistics.date_played >
????, if[holdem_hand_player_detail.amt_bet_ttl > 0, (holdem_hand_player_detail.amt_bet_ttl / holdem_hand_summary.amt_pot) * holdem_hand_summary.amt_rake, 0], holdem_hand_summary.amt_mgr])
However, I can't figure out what the appropriate value (and format) is for October 1, 2010, 12:00:01 am EST.