Filter Stats for Heads Up

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Filter Stats for Heads Up

Postby Cooozy » Sat Sep 06, 2014 10:31 pm

How do I take a stat like VPIP and create a custom version that only includes when there are 2 players? This is for when I get to the heads up portion of a STT. Thanks.
Cooozy
 
Posts: 23
Joined: Sun Apr 21, 2013 3:46 pm

Re: Filter Stats for Heads Up

Postby kraada » Sun Sep 07, 2014 8:50 am

If you're looking to see heads up only data on the HUD all you need to do is go into Hud -> Edit Hud Options and in the Number of Players Filter add a line for 2 to 2. That will ensure you'll only see heads up data when heads up; no custom stats are required.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Filter Stats for Heads Up

Postby Cooozy » Sun Sep 07, 2014 10:41 am

I'd like to see the heads up stats as well as the overall stats on my HUD popup.
Cooozy
 
Posts: 23
Joined: Sun Apr 21, 2013 3:46 pm

Re: Filter Stats for Heads Up

Postby kraada » Mon Sep 08, 2014 7:50 am

The only way to do that is to then create custom stats for every stat you want at every table size you want and to not use the number of player filters. See this guide for the basics on custom statistics creation and this guide for a deeper walkthrough. The latter was written for PT3 but the techniques all apply to PT4, the interface is just slightly different.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Filter Stats for Heads Up

Postby Cooozy » Mon Sep 15, 2014 4:08 pm

Can someone post the code for a custom stat of VPIP so that it only includes 2 players? It would save me some time if I could just use that as a reference to make the other stats.

Thanks
Cooozy
 
Posts: 23
Joined: Sun Apr 21, 2013 3:46 pm

Re: Filter Stats for Heads Up

Postby kraada » Mon Sep 15, 2014 4:24 pm

You'd change cnt_vpip to sum(if[cash_hand_player_statistics.flg_vpip and cash_hand_summary.cnt_players = 2, 1, 0])

For each column you'd just be adding that there are two players. For tournaments it's tourney_hand_summary.cnt_players = 2 (instead of cash_hand_summary).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Filter Stats for Heads Up

Postby Cooozy » Wed Sep 17, 2014 4:25 pm

When I try the below code it says "Invalid Value Expression". Any idea how to fix it? Thanks

Code: Select all
sum(if[tourney_hand_player_statistics.flg_vpip and tourney_hand_summary.cnt_players = 2, 1, 0])
Cooozy
 
Posts: 23
Joined: Sun Apr 21, 2013 3:46 pm

Re: Filter Stats for Heads Up

Postby kraada » Wed Sep 17, 2014 4:29 pm

Are you in the Columns section? That validates for me as a custom column but it won't validate as a custom stat's value expression as it's not a column name.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Filter Stats for Heads Up

Postby Cooozy » Wed Sep 17, 2014 7:05 pm

Oh I see, got it working now, thanks again.
Cooozy
 
Posts: 23
Joined: Sun Apr 21, 2013 3:46 pm

Re: Filter Stats for Heads Up

Postby Opperwezen » Mon Dec 29, 2025 6:02 pm

kraada wrote:If you're looking to see heads up only data on the HUD all you need to do is go into Hud -> Edit Hud Options and in the Number of Players Filter add a line for 2 to 2. That will ensure you'll only see heads up data when heads up; no custom stats are required.

I came across this inquiry and noticed kraada's response that adding a Number of Players filter for two players "will ensure you'll only see heads up data when heads up". By adding "when heads up" to this sentence, this makes it sound like this filter will make your HUD switch from overall HUD stats to heads-up HUD stats as soon as you reach heads-up. Is this what kraada meant and what this filter enables the HUD to do, or was this just awkwardly phrased and do these instructions only lead to your HUD showing only heads-up stats at all times?
Opperwezen
 
Posts: 12
Joined: Thu Nov 09, 2023 7:20 pm

Next

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 3 guests