I have made 2 stats..
cnt_times_player_could_have_shoved_button
- Code: Select all
sum( if[ tourney_hand_player_statistics.flg_p_open_opp = '1' AND position = '0', 1, 0] )
cnt_times_player_could_have_shoved_button
- Code: Select all
sum( if[ amt_chips - amt_bet_p = '0' AND position = '0', 1, 0] )
Then I made the stat
Open Shoves Button
- Code: Select all
(cnt_times_player_open_shove_button / cnt_times_player_could_have_shoved_button) *100
When I try to use the stat I get an error..
- Code: Select all
Unable to execute query......... ERROR: coulmn 'tourney_hand_sumary.id_hand" must appear in the GROUP BY clause or be used in an aggregate function.
Anyone have any ideas why this is happening?
Cheers