Donk & Won

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Donk & Won

Postby Alex Gaita » Sun Dec 15, 2024 7:40 am

I'm having trouble creating this columns. Where is the mistake?

sum(if[cash_hand_player_statistics.cnt_t_donk > 0 AND cash_hand_player_statistics.flg_showdown AND cash_hand_player_statistics.flg_won_hand, 1, 0])

sum(if[cash_hand_player_statistics.cnt_t_donk > 0 AND cash_hand_player_statistics.flg_showdown, 1, 0])

Y also tried
sum(if[cash_hand_player_statistics.flg_t_raise > 0 AND cash_hand_player_statistics.flg_showdown, 1, 0])
Alex Gaita
 
Posts: 4
Joined: Mon Jul 11, 2022 12:07 pm

Re: Donk & Won

Postby Flag_Hippo » Sun Dec 15, 2024 1:18 pm

Alex Gaita wrote:I'm having trouble creating this columns. Where is the mistake?

sum(if[cash_hand_player_statistics.cnt_t_donk > 0 AND cash_hand_player_statistics.flg_showdown AND cash_hand_player_statistics.flg_won_hand, 1, 0])

sum(if[cash_hand_player_statistics.cnt_t_donk > 0 AND cash_hand_player_statistics.flg_showdown, 1, 0])

Y also tried
sum(if[cash_hand_player_statistics.flg_t_raise > 0 AND cash_hand_player_statistics.flg_showdown, 1, 0])

cnt_t_donk & flg_t_raise do not exist in the PokerTracker 4 database schema. A turn donk bet is:

Code: Select all
cash_hand_player_statistics.flg_t_donk

Which would give you:

Code: Select all
sum(if[cash_hand_player_statistics.flg_t_donk AND cash_hand_player_statistics.flg_showdown AND cash_hand_player_statistics.flg_won_hand, 1, 0])

Code: Select all
sum(if[cash_hand_player_statistics.flg_t_donk AND cash_hand_player_statistics.flg_showdown, 1, 0])
Flag_Hippo
Moderator
 
Posts: 15262
Joined: Tue Jan 31, 2012 7:50 am

Re: Donk & Won

Postby Alex Gaita » Mon Dec 16, 2024 7:14 am

works perfectly thanks!
Alex Gaita
 
Posts: 4
Joined: Mon Jul 11, 2022 12:07 pm


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 48 guests

cron
highfalutin