I have succesfully created the statistic by making a column like this:
sum(holdem_hand_summary.amt_rake * holdem_hand_player_detail.amt_bet_ttl / holdem_hand_summary.amt_pot)
and just using that column directly as the value expression in the statistic.
Thank you very much for your help.