Turn - 2nd highest card on the board

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Turn - 2nd highest card on the board

Postby gscrmn » Mon Sep 25, 2023 8:49 am

Hello!

I would like to make a filter where the turn is the 2nd highest card on the board

How can I do it?

Thanks a lot!
gscrmn
 
Posts: 50
Joined: Wed Jul 29, 2020 9:14 am

Re: Turn - 2nd highest card on the board

Postby Flag_Hippo » Mon Sep 25, 2023 11:05 am

For that you would need a custom expression filter that compares the rank of the turn card to the 3 flop cards:

Code: Select all
((cash_hand_summary.card_4 - 1) % 13 < (cash_hand_summary.card_1 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_2 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_3 - 1) % 13) or ((cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_1 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 < (cash_hand_summary.card_2 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_3 - 1) % 13) or ((cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_1 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 > (cash_hand_summary.card_2 - 1) % 13 and (cash_hand_summary.card_4 - 1) % 13 < (cash_hand_summary.card_3 - 1) % 13)

You can use this expression filter in a custom report by clicking on the 'Filters' link and selecting 'Add New Expression Filters' and you will need to replace "cash" with "tourney" if you are in a tournament report. See this thread for more information on the query used above.
Flag_Hippo
Moderator
 
Posts: 15049
Joined: Tue Jan 31, 2012 7:50 am

Re: Turn - 2nd highest card on the board

Postby gscrmn » Mon Sep 25, 2023 11:16 am

Thanks a lot
gscrmn
 
Posts: 50
Joined: Wed Jul 29, 2020 9:14 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: wallacedavidl and 6 guests

cron
highfalutin