Filters

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Filters

Postby ridodirado » Mon Jun 08, 2026 10:31 am

If I assign a color label to a certain player type, can I filter hands based on that label? For example, if I assign yellow to calling stations, can I filter all hands where I played against a CS?
ridodirado
 
Posts: 41
Joined: Thu Dec 15, 2011 11:31 am

Re: Filters

Postby Flag_Hippo » Mon Jun 08, 2026 12:16 pm

That will require a custom expression filter in a custom hand report:

Guide: Creating My Reports

Cash:
Code: Select all
cash_hand_player_statistics.id_hand in (SELECT chps.id_hand from cash_hand_player_statistics chps, notes n WHERE chps.id_player = n.id_x AND (n.id_color = 1))

Tournament:
Code: Select all
tourney_hand_player_statistics.id_hand in (SELECT thps.id_hand from tourney_hand_player_statistics thps, notes n WHERE thps.id_player = n.id_x AND (n.id_color = 1))

You can use expression filters in a custom hand report by clicking on the 'Filters' link and selecting 'Add New Expression Filters'. 1 for id_color is yellow, 2 is green and so on in the order of the colors listed in the note editor. If using the expression filter gives an error in your hand report change the hands dropdown to 'Max Hands'.
Flag_Hippo
Moderator
 
Posts: 17044
Joined: Tue Jan 31, 2012 7:50 am

Re: Filters

Postby majonyjony » Tue Jun 09, 2026 7:49 am

Flag_Hippo wrote:That will require a custom expression filter in a custom hand report:

Guide: Creating My Reports

Cash:
Code: Select all
cash_hand_player_statistics.id_hand in (SELECT chps.id_hand from cash_hand_player_statistics chps, notes n WHERE chps.id_player = n.id_x AND (n.id_color = 1))

Tournament:
Code: Select all
tourney_hand_player_statistics.id_hand in (SELECT thps.id_hand from tourney_hand_player_statistics thps, notes n WHERE thps.id_player = n.id_x AND (n.id_color = 1))

You can use expression filters in a custom hand report by clicking on the 'Filters' link and selecting 'Add New Expression Filters'. 1 for id_color is yellow, 2 is green and so on in the order of the colors listed in the note editor. If using the expression filter gives an error in your hand report change the hands dropdown to 'Max Hands'.

This works if he plays HU, right?
majonyjony
 
Posts: 116
Joined: Wed Oct 08, 2008 4:01 am

Re: Filters

Postby Flag_Hippo » Tue Jun 09, 2026 1:23 pm

majonyjony wrote:This works if he plays HU, right?

That will work regardless of the number of players dealt into the hand.
Flag_Hippo
Moderator
 
Posts: 17044
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 15 guests