We're almost there. This is how it looks for me now http://img105.herosh.com/2011/07/07/691173927.gif W$atSD: sum(if[(holdem_hand_player_statistics.flg_showdown) and holdem_hand_player_statistics.flg_won_hand, holdem_hand_player_statistics.amt_won, 0]) W$woSD: sum(if[ not (holdem_hand_player_statist...