stats

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: stats

Postby PetarM » Sun Nov 29, 2020 4:33 am

Hello,

i can not integrate the "Round" line, the following works:

sum(if[tourney_hand_player_statistics.amt_p_raise_made >= tourney_hand_player_statistics.amt_p_effective_stack and tourney_hand_player_statistics.flg_p_first_raise and tourney_hand_player_statistics.flg_p_open_opp AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 10 AND 20 and tourney_blinds.amt_bb = 50, 1, 0])

but this doesn't:
tourney_hand_histories.id_hand = tourney_hand_player_statistics.id_hand and tourney_hand_histories.history LIKE '%Match Round I,%'

I am having a message saying that "the statement is not valid SQL"
in the same time i am using the statement in reports and it works

Please assist
thanks
PetarM
 
Posts: 58
Joined: Wed Oct 18, 2017 4:25 pm

Re: stats

Postby Flag_Hippo » Sun Nov 29, 2020 7:54 am

For use in a statistic like that you will have to rewrite it as a subquery but unfortunately I don't know how feasible that is or have any specific example for you. For more information on how SELECT works see here.
Flag_Hippo
Moderator
 
Posts: 15241
Joined: Tue Jan 31, 2012 7:50 am

Re: stats

Postby PetarM » Sun Nov 29, 2020 8:01 am

I am not able to do this by myself as I am not familiar with programming.
Could you see if anyone from the moderators could help please
thanks
PetarM
 
Posts: 58
Joined: Wed Oct 18, 2017 4:25 pm

Re: stats

Postby Flag_Hippo » Mon Nov 30, 2020 7:24 am

Unfortunately I don't know of anyone with that SQL knowledge although there are some members of this forum who might see this and be able to offer some guidance.
Flag_Hippo
Moderator
 
Posts: 15241
Joined: Tue Jan 31, 2012 7:50 am

Re: stats

Postby PetarM » Mon Nov 30, 2020 1:03 pm

thank you
I will make a dedicated post
PetarM
 
Posts: 58
Joined: Wed Oct 18, 2017 4:25 pm

Re: stats

Postby PetarM » Tue Dec 01, 2020 8:03 am

Hello
This line seems to not work properly, at least it doesn't do what I need:

PetarM wrote:AND (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) BETWEEN 10 AND 20


What i need is all the hands with starting stack between 10 and 20... this line gives me another starting stack sizes as well

thank you
PetarM
 
Posts: 58
Joined: Wed Oct 18, 2017 4:25 pm

Re: stats

Postby PetarM » Tue Dec 01, 2020 8:24 am

should i use this one instead:
(tourney_hand_player_statistics.amt_before / tourney_blinds.amt_bb) BETWEEN 10 AND 20
PetarM
 
Posts: 58
Joined: Wed Oct 18, 2017 4:25 pm

Re: stats

Postby Flag_Hippo » Tue Dec 01, 2020 2:13 pm

amt_before is the players actual stack at the beginning of a hand whereas the effective_stack is the most they could potentially lose in a hand as of their first action in a hand.
Flag_Hippo
Moderator
 
Posts: 15241
Joined: Tue Jan 31, 2012 7:50 am

Previous

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 36 guests

cron
highfalutin