We're almost there. This is how it looks for me now
[ img ]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_statistics.flg_showdown) and holdem_hand_player_statistics.flg_won_hand, holdem_hand_player_statistics.amt_won, 0])
However, those columns don't really add up to the full amount won and there should be some minus values for woSD, since my red line is negative. Are we missing something?