Limp/call vs Non-allin iso

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Limp/call vs Non-allin iso

Postby Naeco » Thu Nov 16, 2023 9:19 am

Hello,

I'm trying to make 2 separate stats for limp/call: one when hero has limped and faced an ISO shove and one when hero has limped and face a maximum 4bb iso.

I succesfully made the limp/call vs shove stat with this formula:

limp_call_shove
CODE: SELECT ALL
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'CC%' AND lookup_actions_f.action LIKE '', 1, 0])

limp_call_shove_opp
CODE: SELECT ALL
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'C%' AND tourney_hand_player_statistics.enum_face_allin similar to 'P|p' , 1, 0])


However, I'm struggling with the limp/call vs NAI.

I tried this but It says The Statement is not valid SQL.

cnt_p_limp_fold_naiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action = 'CF' AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])

cnt_p_limp_faceraisenaiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])


Could someone tell me what I did wrong?

Thank you !
Naeco
 
Posts: 35
Joined: Tue Jun 12, 2018 7:43 am

Re: Limp/call vs Non-allin iso

Postby Naeco » Thu Nov 16, 2023 9:57 am

OK I Just tried this and it seems to work

If someone can confirm that it looks okay:

cnt_p_limp_call_NAI
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'CC%'
AND ((tourney_hand_player_statistics.amt_p_2bet_facing + tourney_hand_player_statistics.amt_blind) / tourney_blinds.amt_bb) BETWEEN 2 AND 4, 1, 0])

cnt_p_limp_faceraise_NAI
sum(if[tourney_hand_player_statistics.flg_p_limp AND tourney_hand_player_statistics.flg_p_face_raise
AND ((tourney_hand_player_statistics.amt_p_2bet_facing + tourney_blinds.amt_bb) / tourney_blinds.amt_bb) BETWEEN 2 AND 4, 1, 0])
Naeco
 
Posts: 35
Joined: Tue Jun 12, 2018 7:43 am

Re: Limp/call vs Non-allin iso

Postby Flag_Hippo » Thu Nov 16, 2023 12:56 pm

Naeco wrote:I tried this but It says The Statement is not valid SQL.

cnt_p_limp_fold_naiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action = 'CF' AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])

cnt_p_limp_faceraisenaiR
sum(if[tourney_hand_player_statistics.flg_p_limp AND tourney_hand_player_statistics.amt_p_raise_facing / tourney_blinds.amt_bb) <= 4, 1, 0])


Could someone tell me what I did wrong?

That will not validate since there is a bracket mismatch as there isn't a corresponding (.

Naeco wrote:If someone can confirm that it looks okay:

cnt_p_limp_call_NAI
sum(if[tourney_hand_player_statistics.flg_p_limp AND lookup_actions_p.action LIKE 'CC%'
AND ((tourney_hand_player_statistics.amt_p_2bet_facing + tourney_hand_player_statistics.amt_blind) / tourney_blinds.amt_bb) BETWEEN 2 AND 4, 1, 0])

cnt_p_limp_faceraise_NAI
sum(if[tourney_hand_player_statistics.flg_p_limp AND tourney_hand_player_statistics.flg_p_face_raise
AND ((tourney_hand_player_statistics.amt_p_2bet_facing + tourney_blinds.amt_bb) / tourney_blinds.amt_bb) BETWEEN 2 AND 4, 1, 0])

That looks fine.
Flag_Hippo
Moderator
 
Posts: 15543
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 32 guests

cron